Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001057/0.001057, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001449/0.002506, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001055/0.001055, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002383, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.8969/0.8969, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07859/0.9755, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.295/2.295, allocations: 446.7 MB / 0.6745 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2792/2.575, allocations: 145.9 MB / 0.817 GB, free: 4.234 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.8182 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.02e-05/2.192e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.961 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00236/0.002382, allocations: 1.538 MB / 0.8198 GB, free: 1.41 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006634/0.003045, allocations: 474.6 kB / 0.8202 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.603e-05/0.003081, allocations: 0 / 0.8202 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.23e-05/0.003103, allocations: 3.938 kB / 0.8202 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.003155, allocations: 11.92 kB / 0.8202 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.637e-05/0.003242, allocations: 27.84 kB / 0.8202 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.003359, allocations: 51.8 kB / 0.8203 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006094/0.009453, allocations: 8 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.421e-05/0.009547, allocations: 35.89 kB / 0.8203 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.54e-05/0.009613, allocations: 11.98 kB / 0.8203 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.009633, allocations: 4 kB / 0.8204 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.163e-05/0.009644, allocations: 4 kB / 0.8204 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.009665, allocations: 7.938 kB / 0.8204 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.194e-05/0.009697, allocations: 12 kB / 0.8204 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.009808, allocations: 39.78 kB / 0.8204 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.665e-05/0.009825, allocations: 0 / 0.8204 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.092e-06/0.009826, allocations: 4 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.009842, allocations: 0 / 0.8204 GB, free: 0.7227 MB / 0.7917 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.0004964/0.01034, allocations: 298.2 kB / 0.8207 GB, free: 412 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.01037, allocations: 8.625 kB / 0.8207 GB, free: 404 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.01041, allocations: 4.938 kB / 0.8207 GB, free: 400 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.995e-05/0.0105, allocations: 113.7 kB / 0.8208 GB, free: 260 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.01051, allocations: 384 / 0.8208 GB, free: 260 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.01052, allocations: 12.36 kB / 0.8208 GB, free: 248 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.44e-05/0.01061, allocations: 67.95 kB / 0.8209 GB, free: 168 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.01062, allocations: 8.125 kB / 0.8209 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.01063, allocations: 384 / 0.8209 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.01064, allocations: 3.938 kB / 0.8209 GB, free: 156 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.913e-05/0.01067, allocations: 41.69 kB / 0.821 GB, free: 108 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.01094, allocations: 160.2 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.907e-05/0.01101, allocations: 60.27 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.01104, allocations: 38.56 kB / 0.8212 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.01105, allocations: 0 / 0.8212 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.01118, allocations: 130.9 kB / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.01118, allocations: 0 / 0.8213 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001729/0.01136, allocations: 170.6 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.0114, allocations: 81.05 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/0.01146, allocations: 122.7 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.01148, allocations: 25.7 kB / 0.8217 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.238e-05/0.01151, allocations: 84.14 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.01153, allocations: 19.88 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.01156, allocations: 29.7 kB / 0.8218 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.097e-05/0.01166, allocations: 318.8 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/0.01168, allocations: 37.7 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.161e-05/0.01173, allocations: 60.27 kB / 0.8222 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.0118, allocations: 113.9 kB / 0.8223 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01181, allocations: 0 / 0.8223 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001111/0.01192, allocations: 125 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.754e-05/0.01195, allocations: 33.7 kB / 0.8225 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.01196, allocations: 3.938 kB / 0.8225 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.01197, allocations: 4 kB / 0.8225 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.195e-05/0.01201, allocations: 7.984 kB / 0.8225 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.01202, allocations: 3.938 kB / 0.8225 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.01206, allocations: 8.062 kB / 0.8225 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.01207, allocations: 4 kB / 0.8225 GB, free: 14.29 MB / 0.8073 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 8.773e-05/0.01216, allocations: 147.5 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.01217, allocations: 4 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003042/0.01521, allocations: 16.38 kB / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.01521, allocations: 0 / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.01521, allocations: 0 / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01522, allocations: 0 / 0.8227 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.0155, allocations: 294 kB / 0.823 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.0155, allocations: 0 / 0.823 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-06/0.01551, allocations: 8 kB / 0.823 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.006e-05/0.01552, allocations: 7.891 kB / 0.823 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.01552, allocations: 7.984 kB / 0.823 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.01553, allocations: 0 / 0.823 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01553, allocations: 0 / 0.823 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01553, allocations: 3.938 kB / 0.823 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.01567, allocations: 226.9 kB / 0.8232 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.01569, allocations: 3.938 kB / 0.8232 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.01576, allocations: 11.98 kB / 0.8232 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.0158, allocations: 7.984 kB / 0.8232 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.01581, allocations: 4 kB / 0.8232 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.665e-05/0.01583, allocations: 16.84 kB / 0.8232 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01583, allocations: 0 / 0.8232 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001896/0.01602, allocations: 20 kB / 0.8233 GB, free: 13.44 MB / 0.8073 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.0001042/0.01612, allocations: 82.59 kB / 0.8233 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.01629, allocations: 163.6 kB / 0.8235 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.01629, allocations: 0 / 0.8235 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.609e-05/0.01637, allocations: 117.9 kB / 0.8236 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.01657, allocations: 26.92 kB / 0.8236 GB, free: 13 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.01701, allocations: 187 kB / 0.8238 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.94e-05/0.01705, allocations: 55.36 kB / 0.8239 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.01708, allocations: 7.984 kB / 0.8239 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.137e-05/0.01716, allocations: 67.36 kB / 0.8239 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.01716, allocations: 0 / 0.8239 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of Templates: time 0.00589/0.02305, allocations: 0.999 MB / 0.8249 GB, free: 11.66 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.115302135236561]