Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002078/0.002078, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002575/0.002575, allocations: 157.7 kB / 23.54 MB, free: 0.8711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.71/2.71, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 7.664e-06/7.664e-06, allocations: 4.656 kB / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.026e-05/3.792e-05, allocations: 2.312 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003215/0.003252, allocations: 1.455 MB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.004282, allocations: 441.1 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/0.00433, allocations: 4.75 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/0.004359, allocations: 0 / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.004467, allocations: 20.41 kB / 0.7882 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.004635, allocations: 16.55 kB / 0.7882 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.00478, allocations: 51.8 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.004872, allocations: 5.406 kB / 0.7883 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.004978, allocations: 31.89 kB / 0.7883 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.005049, allocations: 15.98 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.005071, allocations: 4 kB / 0.7883 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.464e-05/0.005086, allocations: 5.031 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.756e-05/0.005114, allocations: 7.938 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.005166, allocations: 17.23 kB / 0.7883 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.005307, allocations: 43.81 kB / 0.7884 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.005311, allocations: 3.938 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.02e-07/0.005311, allocations: 0 / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.005315, allocations: 1.438 kB / 0.7884 GB, free: 10.76 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007546/0.00607, allocations: 321 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.006111, allocations: 8.031 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.006179, allocations: 12.89 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.006329, allocations: 114.7 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.00635, allocations: 4.375 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.006365, allocations: 4.375 kB / 0.7888 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001745/0.006539, allocations: 81.03 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.006549, allocations: 192 / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.006563, allocations: 384 / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.006572, allocations: 5.531 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001155/0.006688, allocations: 53.62 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.007153, allocations: 212.5 kB / 0.7892 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.007275, allocations: 65.55 kB / 0.7892 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.472e-05/0.00734, allocations: 46.69 kB / 0.7893 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.007364, allocations: 3.984 kB / 0.7893 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.007722, allocations: 137.6 kB / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.007723, allocations: 0 / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0003973/0.00812, allocations: 210.7 kB / 0.7896 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.008197, allocations: 85.09 kB / 0.7897 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.008314, allocations: 109.8 kB / 0.7898 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.008342, allocations: 29.7 kB / 0.7898 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.008404, allocations: 84.14 kB / 0.7899 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.00843, allocations: 19.8 kB / 0.7899 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.008488, allocations: 30.42 kB / 0.79 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.00867, allocations: 318.8 kB / 0.7903 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.437e-05/0.008735, allocations: 47.28 kB / 0.7903 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.003e-05/0.008815, allocations: 68.2 kB / 0.7904 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.008958, allocations: 121.9 kB / 0.7905 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.00896, allocations: 1.75 kB / 0.7905 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002265/0.009186, allocations: 153 kB / 0.7906 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.009231, allocations: 37.69 kB / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.009236, allocations: 1.188 kB / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.009256, allocations: 0 / 0.7907 GB, free: 8.137 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.99e-05/0.009306, allocations: 4 kB / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.009312, allocations: 0 / 0.7907 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.628e-05/0.009388, allocations: 17.52 kB / 0.7907 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.009395, allocations: 3.938 kB / 0.7907 GB, free: 8.113 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001505/0.009546, allocations: 147.5 kB / 0.7908 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.769e-05/0.009573, allocations: 13.62 kB / 0.7908 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.009599, allocations: 8.438 kB / 0.7909 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.009603, allocations: 4.062 kB / 0.7909 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.00961, allocations: 4 kB / 0.7909 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.009615, allocations: 4.891 kB / 0.7909 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.01009, allocations: 373.5 kB / 0.7912 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01009, allocations: 0 / 0.7912 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-06/0.0101, allocations: 0.5312 kB / 0.7912 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.0101, allocations: 0.6875 kB / 0.7912 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.01011, allocations: 4 kB / 0.7912 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.01012, allocations: 4.516 kB / 0.7912 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01012, allocations: 1.312 kB / 0.7912 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.01042, allocations: 262.8 kB / 0.7915 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.01044, allocations: 7.953 kB / 0.7915 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.009e-05/0.01046, allocations: 0 / 0.7915 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.01057, allocations: 16.52 kB / 0.7915 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.01062, allocations: 9.359 kB / 0.7915 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.01064, allocations: 3.984 kB / 0.7915 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.797e-05/0.01071, allocations: 95.2 kB / 0.7916 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01071, allocations: 1.156 kB / 0.7916 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002423/0.01095, allocations: 12 kB / 0.7916 GB, free: 7.078 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001408/0.01109, allocations: 110.7 kB / 0.7917 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002574/0.01135, allocations: 162.8 kB / 0.7919 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01135, allocations: 0.8125 kB / 0.7919 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/0.01148, allocations: 113 kB / 0.792 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.01179, allocations: 21.8 kB / 0.792 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.01224, allocations: 183.4 kB / 0.7922 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.01235, allocations: 67.34 kB / 0.7923 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.01239, allocations: 12.84 kB / 0.7923 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.918e-05/0.01242, allocations: 12.5 kB / 0.7923 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/0.01243, allocations: 0 / 0.7923 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of Templates: time 0.004104/0.01653, allocations: 0.9429 MB / 0.7932 GB, free: 5.414 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.716820237925276]