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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 225.6 MB / 249.9 MB, free: 3.242 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.623/2.623, allocations: 489.7 MB / 0.7761 GB, free: 2.375 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=541,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=541,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.89 kB / 1.127 GB, free: 5.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8763/0.8781, allocations: 172 MB / 1.295 GB, free: 38.82 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002077/0.8802, allocations: 1.43 MB / 1.296 GB, free: 37.84 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005311/0.8807, allocations: 438.5 kB / 1.297 GB, free: 37.54 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.8808, allocations: 0 / 1.297 GB, free: 37.54 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.8808, allocations: 3.938 kB / 1.297 GB, free: 37.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.53e-05/0.8809, allocations: 15.2 kB / 1.297 GB, free: 37.53 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.881, allocations: 25.17 kB / 1.297 GB, free: 37.51 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.8811, allocations: 49.95 kB / 1.297 GB, free: 37.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.628e-05/0.8812, allocations: 2.656 kB / 1.297 GB, free: 37.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.8812, allocations: 22.53 kB / 1.297 GB, free: 37.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.838e-05/0.8813, allocations: 28.16 kB / 1.297 GB, free: 37.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.8813, allocations: 9.812 kB / 1.297 GB, free: 37.46 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.8813, allocations: 2.906 kB / 1.297 GB, free: 37.46 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.8814, allocations: 6.688 kB / 1.297 GB, free: 37.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.8814, allocations: 20.5 kB / 1.297 GB, free: 37.44 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.629e-05/0.8815, allocations: 42.19 kB / 1.297 GB, free: 37.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.8815, allocations: 0 / 1.297 GB, free: 37.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8815, allocations: 0 / 1.297 GB, free: 37.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.8815, allocations: 3.938 kB / 1.297 GB, free: 37.42 MB / 1.061 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.0004996/0.882, allocations: 405.9 kB / 1.297 GB, free: 37.01 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.882, allocations: 8.844 kB / 1.297 GB, free: 37.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.8821, allocations: 7.719 kB / 1.297 GB, free: 37.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.69e-05/0.8821, allocations: 170.9 kB / 1.297 GB, free: 36.81 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.8821, allocations: 7.188 kB / 1.297 GB, free: 36.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.8822, allocations: 3.25 kB / 1.297 GB, free: 36.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.658e-05/0.8823, allocations: 52.06 kB / 1.297 GB, free: 36.76 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.8823, allocations: 0 / 1.297 GB, free: 36.76 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.8823, allocations: 4 kB / 1.297 GB, free: 36.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.8823, allocations: 6.5 kB / 1.297 GB, free: 36.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.637e-05/0.8823, allocations: 15.89 kB / 1.297 GB, free: 36.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.8826, allocations: 269.7 kB / 1.298 GB, free: 36.47 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.041e-05/0.8827, allocations: 44.02 kB / 1.298 GB, free: 36.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.8827, allocations: 14.3 kB / 1.298 GB, free: 36.42 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.8827, allocations: 2.906 kB / 1.298 GB, free: 36.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.8829, allocations: 113.1 kB / 1.298 GB, free: 36.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.8829, allocations: 0 / 1.298 GB, free: 36.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0002401/0.8831, allocations: 143.6 kB / 1.298 GB, free: 36.23 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.8831, allocations: 79.95 kB / 1.298 GB, free: 36.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.8832, allocations: 114 kB / 1.298 GB, free: 36.03 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.8832, allocations: 28.58 kB / 1.298 GB, free: 36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.512e-05/0.8832, allocations: 84.14 kB / 1.298 GB, free: 35.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.8832, allocations: 18.72 kB / 1.298 GB, free: 35.9 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.8833, allocations: 30.66 kB / 1.298 GB, free: 35.87 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.043e-05/0.8833, allocations: 321.2 kB / 1.299 GB, free: 35.55 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.8833, allocations: 20.03 kB / 1.299 GB, free: 35.55 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.8834, allocations: 34.47 kB / 1.299 GB, free: 35.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.609e-05/0.8834, allocations: 113.5 kB / 1.299 GB, free: 35.41 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8834, allocations: 2.625 kB / 1.299 GB, free: 35.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000116/0.8836, allocations: 127.9 kB / 1.299 GB, free: 35.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.8836, allocations: 33.67 kB / 1.299 GB, free: 35.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.8836, allocations: 0 / 1.299 GB, free: 35.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.8836, allocations: 6.75 kB / 1.299 GB, free: 35.28 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.837e-05/0.8836, allocations: 9.781 kB / 1.299 GB, free: 35.28 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.8836, allocations: 0 / 1.299 GB, free: 35.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.969e-05/0.8837, allocations: 9.5 kB / 1.299 GB, free: 35.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.8837, allocations: 6.625 kB / 1.299 GB, free: 35.27 MB / 1.061 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 6.472e-05/0.8838, allocations: 158.5 kB / 1.299 GB, free: 35.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.404e-05/0.8838, allocations: 6.391 kB / 1.299 GB, free: 35.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.388e-05/0.8838, allocations: 11.28 kB / 1.299 GB, free: 35.1 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.8838, allocations: 3.188 kB / 1.299 GB, free: 35.1 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.8838, allocations: 0 / 1.299 GB, free: 35.1 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.8838, allocations: 0 / 1.299 GB, free: 35.1 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/0.8841, allocations: 402 kB / 1.3 GB, free: 34.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8841, allocations: 7.938 kB / 1.3 GB, free: 34.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-06/0.8841, allocations: 0 / 1.3 GB, free: 34.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.8841, allocations: 2.906 kB / 1.3 GB, free: 34.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.8841, allocations: 4.062 kB / 1.3 GB, free: 34.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8841, allocations: 3.234 kB / 1.3 GB, free: 34.72 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.8841, allocations: 2.844 kB / 1.3 GB, free: 34.72 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.8842, allocations: 229.8 kB / 1.3 GB, free: 34.53 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.8843, allocations: 92.03 kB / 1.3 GB, free: 34.43 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.8843, allocations: 5.969 kB / 1.3 GB, free: 34.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.8844, allocations: 6.938 kB / 1.3 GB, free: 34.42 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.8844, allocations: 13.11 kB / 1.3 GB, free: 34.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.8844, allocations: 6.875 kB / 1.3 GB, free: 34.41 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.638e-05/0.8845, allocations: 84.09 kB / 1.3 GB, free: 34.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.8845, allocations: 0 / 1.3 GB, free: 34.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002188/0.8847, allocations: 17.97 kB / 1.3 GB, free: 34.34 MB / 1.061 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 6.553e-05/0.8847, allocations: 103.7 kB / 1.3 GB, free: 34.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.8849, allocations: 114.8 kB / 1.3 GB, free: 34.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.8849, allocations: 0 / 1.3 GB, free: 34.16 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.683e-05/0.8849, allocations: 75.94 kB / 1.3 GB, free: 34.09 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.8852, allocations: 15.75 kB / 1.3 GB, free: 34.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.8855, allocations: 183.1 kB / 1.301 GB, free: 33.93 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001021/0.8856, allocations: 0.6877 MB / 1.301 GB, free: 33.23 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.8856, allocations: 17.28 kB / 1.301 GB, free: 33.22 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/0.8856, allocations: 0 / 1.301 GB, free: 33.22 MB / 1.061 GB Notification: Performance of Templates: time 0.001968/0.8876, allocations: 0.9129 MB / 1.302 GB, free: 33.13 MB / 1.061 GB [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches