Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 87.11 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.491/2.491, allocations: 390.9 MB / 0.666 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004399/0.0004401, allocations: 12 kB / 0.8153 GB, free: 13.58 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9852/0.9857, allocations: 142.4 MB / 0.9544 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001737/0.9874, allocations: 1.168 MB / 0.9556 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007553/0.9882, allocations: 427.4 kB / 0.956 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.9883, allocations: 0 / 0.956 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.696e-05/0.9883, allocations: 3.984 kB / 0.956 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.191e-05/0.9884, allocations: 5.375 kB / 0.956 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.9886, allocations: 11.89 kB / 0.956 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.186e-05/0.9887, allocations: 51.31 kB / 0.956 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.9888, allocations: 12.92 kB / 0.9561 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.977e-05/0.9889, allocations: 23.11 kB / 0.9561 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.475e-05/0.9889, allocations: 16.45 kB / 0.9561 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.989, allocations: 1.938 kB / 0.9561 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.491e-05/0.989, allocations: 2.281 kB / 0.9561 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.989, allocations: 14.17 kB / 0.9561 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.989, allocations: 37.72 kB / 0.9561 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.138e-05/0.9891, allocations: 27.55 kB / 0.9562 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.9891, allocations: 0 / 0.9562 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.815e-06/0.9892, allocations: 4.969 kB / 0.9562 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.9892, allocations: 0 / 0.9562 GB, free: 6.387 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004679/0.9896, allocations: 356.1 kB / 0.9565 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.9897, allocations: 8.75 kB / 0.9565 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.9897, allocations: 10.55 kB / 0.9565 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.9898, allocations: 169.9 kB / 0.9567 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.9899, allocations: 6.719 kB / 0.9567 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.9899, allocations: 7.781 kB / 0.9567 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.99, allocations: 54.45 kB / 0.9568 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.99, allocations: 1.031 kB / 0.9568 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.9901, allocations: 0 / 0.9568 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.9901, allocations: 1.719 kB / 0.9568 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.342e-05/0.9901, allocations: 32.97 kB / 0.9568 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.9906, allocations: 307.7 kB / 0.9571 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.9908, allocations: 56.94 kB / 0.9571 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.9908, allocations: 24.2 kB / 0.9572 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.9908, allocations: 1.094 kB / 0.9572 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000191/0.991, allocations: 79.33 kB / 0.9572 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.991, allocations: 0 / 0.9572 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002522/0.9913, allocations: 104.4 kB / 0.9573 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.9913, allocations: 55.09 kB / 0.9574 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.261e-05/0.9914, allocations: 103.2 kB / 0.9575 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.9914, allocations: 31.48 kB / 0.9575 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.815e-05/0.9915, allocations: 81.95 kB / 0.9576 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.9915, allocations: 23.27 kB / 0.9576 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.9915, allocations: 8 kB / 0.9576 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.901e-05/0.9916, allocations: 316.6 kB / 0.9579 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.233e-05/0.9916, allocations: 24.89 kB / 0.958 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.259e-05/0.9917, allocations: 40.31 kB / 0.958 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.452e-05/0.9917, allocations: 23.33 kB / 0.958 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9917, allocations: 0 / 0.958 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001389/0.9919, allocations: 98.3 kB / 0.9581 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.9919, allocations: 15.16 kB / 0.9581 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.9919, allocations: 1.031 kB / 0.9581 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.9919, allocations: 1.219 kB / 0.9581 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.992, allocations: 12.33 kB / 0.9581 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.992, allocations: 1.344 kB / 0.9581 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.007e-05/0.9921, allocations: 18.19 kB / 0.9582 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.9921, allocations: 7.812 kB / 0.9582 GB, free: 4.426 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.856e-05/0.9922, allocations: 119.2 kB / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.9922, allocations: 1.312 kB / 0.9583 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.9923, allocations: 17.11 kB / 0.9583 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.9923, allocations: 1.312 kB / 0.9583 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.9923, allocations: 1.406 kB / 0.9583 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.9923, allocations: 3.938 kB / 0.9583 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.9926, allocations: 359 kB / 0.9586 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.9927, allocations: 4 kB / 0.9587 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.53e-05/0.9927, allocations: 7.172 kB / 0.9587 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.9927, allocations: 1.25 kB / 0.9587 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.9927, allocations: 1 kB / 0.9587 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.9927, allocations: 480 / 0.9587 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.9927, allocations: 0.9688 kB / 0.9587 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.9929, allocations: 186.7 kB / 0.9588 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.9929, allocations: 78.58 kB / 0.9589 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.9929, allocations: 8.984 kB / 0.9589 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.993, allocations: 14.33 kB / 0.9589 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.9931, allocations: 7.234 kB / 0.9589 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.9931, allocations: 2.281 kB / 0.9589 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.153e-05/0.9932, allocations: 83.44 kB / 0.959 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9932, allocations: 0 / 0.959 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002462/0.9934, allocations: 11.03 kB / 0.959 GB, free: 3.566 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001376/0.9936, allocations: 117.9 kB / 0.9592 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.9937, allocations: 51.23 kB / 0.9592 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9937, allocations: 0 / 0.9592 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.376e-05/0.9938, allocations: 28.7 kB / 0.9592 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.9941, allocations: 5.75 kB / 0.9592 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.9945, allocations: 186 kB / 0.9594 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.9947, allocations: 0.688 MB / 0.9601 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.9947, allocations: 3.562 kB / 0.9601 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.9948, allocations: 10.69 kB / 0.9601 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9948, allocations: 0 / 0.9601 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of Templates: time 0.003241/0.998, allocations: 0.6586 MB / 0.9607 GB, free: 2.215 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches