Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|offTim1.u|offTim1.y|offTim2.u|offTim2.y",fileNamePrefix="Buildings_latest_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_latest_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.001228/0.001228, allocations: 111.4 kB / 16.42 MB, free: 6.469 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.001334/0.001334, allocations: 189.5 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.7/2.7, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.91 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9891/0.9905, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002943/0.9935, allocations: 1.465 MB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008211/0.9943, allocations: 446.9 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.9944, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.9944, allocations: 3.938 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.643e-05/0.9946, allocations: 11.92 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.9948, allocations: 27.91 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.9949, allocations: 51.84 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.995, allocations: 12 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.582e-05/0.9951, allocations: 27.84 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.709e-05/0.9952, allocations: 15.92 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.9952, allocations: 4 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.887e-05/0.9952, allocations: 8 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.9952, allocations: 11.98 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.947e-05/0.9953, allocations: 27.86 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.9954, allocations: 43.81 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.9954, allocations: 0 / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9954, allocations: 0 / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.9955, allocations: 0 / 1.21 GB, free: 11.51 MB / 0.9356 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.0005668/0.996, allocations: 359.2 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.9961, allocations: 8.031 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.9961, allocations: 12.78 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.9963, allocations: 170.2 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.9964, allocations: 8.312 kB / 1.211 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.9964, allocations: 4.375 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.9965, allocations: 58 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.9965, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.9965, allocations: 4 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.9966, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.376e-05/0.9966, allocations: 35.95 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.9971, allocations: 300.6 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.866e-05/0.9973, allocations: 54.56 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/0.9973, allocations: 32.94 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.9973, allocations: 0 / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.9975, allocations: 71.42 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.653e-06/0.9975, allocations: 0 / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0002278/0.9977, allocations: 97.61 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.9978, allocations: 55.78 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.896e-05/0.9979, allocations: 105.8 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.9979, allocations: 37.7 kB / 1.212 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.998, allocations: 80.14 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.998, allocations: 31.62 kB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/0.9981, allocations: 25.72 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.9982, allocations: 322.8 kB / 1.212 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.9982, allocations: 16 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-05/0.9983, allocations: 47.36 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.9984, allocations: 71.42 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.9984, allocations: 0 / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001479/0.9986, allocations: 93.55 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.9986, allocations: 8 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.9986, allocations: 3.938 kB / 1.213 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.9986, allocations: 4 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.9987, allocations: 8 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.9987, allocations: 4.031 kB / 1.213 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.711e-05/0.9988, allocations: 19.83 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.9988, allocations: 4 kB / 1.213 GB, free: 9.16 MB / 0.9356 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,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.999, allocations: 121.7 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.999, allocations: 4 kB / 1.213 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.999, allocations: 8.25 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.999, allocations: 0 / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.999, allocations: 3.984 kB / 1.213 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.9991, allocations: 93 kB / 1.213 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.919e-05/0.9991, allocations: 7.938 kB / 1.213 GB, free: 8.891 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.293e-05/0.9992, allocations: 4 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.9992, allocations: 7.984 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000203/0.9994, allocations: 168.9 kB / 1.213 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002573/0.9997, allocations: 250.8 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.084e-05/0.9998, allocations: 32.11 kB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001218/0.9999, allocations: 87.22 kB / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of Backend: time 4.51e-07/0.9999, allocations: 0 / 1.213 GB, free: 8.328 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003761/1, allocations: 110.3 kB / 1.213 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006275/1.001, allocations: 0.5882 MB / 1.214 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of Templates: time 0.00322/1.004, allocations: 0.8264 MB / 1.215 GB, free: 6.762 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches