Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001622/0.001622, allocations: 108.7 kB / 16.41 MB, free: 6.031 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.001715/0.001715, allocations: 183.5 kB / 17.34 MB, free: 5.633 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.395/2.395, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 59.91 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8208/0.8223, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002855/0.8252, allocations: 1.467 MB / 1.169 GB, free: 2.398 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007747/0.826, allocations: 446.9 kB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.826, allocations: 0 / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.8261, allocations: 7.922 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.011e-05/0.8262, allocations: 11.94 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.8264, allocations: 19.92 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.235e-05/0.8265, allocations: 43.91 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.8266, allocations: 19.97 kB / 1.169 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.49e-05/0.8267, allocations: 23.88 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.373e-05/0.8268, allocations: 19.91 kB / 1.169 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.8268, allocations: 8 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.8268, allocations: 4 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.938e-05/0.8268, allocations: 15.92 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.8269, allocations: 15.94 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.827, allocations: 55.8 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.827, allocations: 0 / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.827, allocations: 0 / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.827, allocations: 0 / 1.169 GB, free: 1.715 MB / 0.8887 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.0005391/0.8276, allocations: 359.2 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.8276, allocations: 12.62 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.8277, allocations: 4.844 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.8278, allocations: 170.2 kB / 1.17 GB, free: 1.102 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.8278, allocations: 8.312 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.8279, allocations: 8.375 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.828, allocations: 61.92 kB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.828, allocations: 4 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.828, allocations: 0 / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.752e-06/0.828, allocations: 4 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.384e-05/0.8281, allocations: 23.98 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.8286, allocations: 304.6 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.8288, allocations: 54.56 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.8288, allocations: 28.95 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.8289, allocations: 0 / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.829, allocations: 79.41 kB / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.8291, allocations: 0 / 1.17 GB, free: 468 kB / 0.8887 GB Notification: Performance of matching and sorting (n=9): time 0.0002452/0.8293, allocations: 97.61 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.8294, allocations: 55.41 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.8294, allocations: 113.8 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.8295, allocations: 29.7 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.8295, allocations: 84.12 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.8296, allocations: 19.72 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.019e-05/0.8296, allocations: 33.64 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.8298, allocations: 326.8 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.76e-05/0.8298, allocations: 12 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-05/0.8299, allocations: 55.36 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.802e-05/0.83, allocations: 59.42 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.83, allocations: 0 / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001516/0.8301, allocations: 93.84 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.8302, allocations: 4 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.8302, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.8302, allocations: 4 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.53e-05/0.8303, allocations: 12.39 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.8303, allocations: 4 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.8304, allocations: 19.83 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.8304, allocations: 7.984 kB / 1.171 GB, free: 15.36 MB / 0.9044 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 8.865e-05/0.8305, allocations: 125.7 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.8305, allocations: 4 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.29e-05/0.8305, allocations: 7.969 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.8305, allocations: 4 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.8306, allocations: 0 / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.8306, allocations: 4 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.831, allocations: 358.3 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.831, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.831, allocations: 7.984 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.831, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.831, allocations: 4 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.8311, allocations: 7.938 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.8311, allocations: 3.938 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.8313, allocations: 175.6 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.8313, allocations: 85.02 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.8314, allocations: 4 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.772e-05/0.8314, allocations: 15.86 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.8315, allocations: 7.938 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.8315, allocations: 11.98 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.163e-05/0.8316, allocations: 79.28 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8316, allocations: 0 / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002367/0.8318, allocations: 20 kB / 1.172 GB, free: 14.35 MB / 0.9044 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 (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.0001197/0.8319, allocations: 97.64 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.8321, allocations: 55.91 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8321, allocations: 0 / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.398e-05/0.8322, allocations: 28.06 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.8324, allocations: 18.64 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004529/0.8329, allocations: 191.1 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.8332, allocations: 0.6885 MB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.446e-05/0.8332, allocations: 11.44 kB / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.8332, allocations: 0 / 1.173 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of Templates: time 0.00241/0.8356, allocations: 0.8745 MB / 1.174 GB, free: 12.34 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches