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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0009647/0.0009647, allocations: 87.03 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.0009416/0.0009416, 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.479/1.479, allocations: 223.3 MB / 240 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.861/2.861, allocations: 462.6 MB / 0.736 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 8.688 kB / 0.9021 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3879, allocations: 159.6 MB / 1.058 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001857/0.3898, allocations: 1.171 MB / 1.059 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007719/0.3906, allocations: 435 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.088e-05/0.3906, allocations: 4 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.3907, allocations: 0 / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.3908, allocations: 3.938 kB / 1.06 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.391, allocations: 19.98 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.731e-05/0.3911, allocations: 43.84 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.3912, allocations: 11.98 kB / 1.06 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.3913, allocations: 19.92 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.999e-05/0.3914, allocations: 15.92 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.3914, allocations: 0 / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.3914, allocations: 8 kB / 1.06 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.3914, allocations: 11.92 kB / 1.06 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.3915, allocations: 33.7 kB / 1.06 GB, free: 3.562 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.192e-05/0.3916, allocations: 19.95 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3916, allocations: 0 / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3916, allocations: 0 / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3916, allocations: 0 / 1.06 GB, free: 3.543 MB / 0.8106 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.0005876/0.3922, allocations: 367.5 kB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3923, allocations: 8.031 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.616e-05/0.3923, allocations: 4 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.3925, allocations: 182.9 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3925, allocations: 0 / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3925, allocations: 11.95 kB / 1.06 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.3927, allocations: 53.69 kB / 1.06 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3927, allocations: 0 / 1.06 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.3927, allocations: 0 / 1.06 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3927, allocations: 0 / 1.06 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.008e-05/0.3928, allocations: 35.91 kB / 1.06 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.3933, allocations: 304.7 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.3934, allocations: 54.56 kB / 1.061 GB, free: 2.391 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.655e-05/0.3935, allocations: 32.97 kB / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.3935, allocations: 0 / 1.061 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001757/0.3937, allocations: 71.33 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.3937, allocations: 0 / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0002264/0.3939, allocations: 105.5 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.394, allocations: 55.34 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.943e-05/0.394, allocations: 109.8 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.3941, allocations: 29.7 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.526e-05/0.3941, allocations: 88.05 kB / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.3942, allocations: 27.72 kB / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.3942, allocations: 0 / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.3943, allocations: 318.8 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.553e-05/0.3944, allocations: 15.98 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.565e-05/0.3944, allocations: 51.36 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.3945, allocations: 20 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3945, allocations: 4 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001441/0.3946, allocations: 93.52 kB / 1.062 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3946, allocations: 5.875 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3947, allocations: 0 / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3947, allocations: 4 kB / 1.062 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.3947, allocations: 15.94 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.3948, allocations: 0 / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.3948, allocations: 16.02 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.3948, allocations: 0 / 1.062 GB, free: 1.27 MB / 0.8106 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 0.0001129/0.395, allocations: 126.1 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/0.395, allocations: 3.906 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.395, allocations: 11.97 kB / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.395, allocations: 0 / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.395, allocations: 0 / 1.062 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.395, allocations: 3.984 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000432/0.3955, allocations: 370.7 kB / 1.062 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3955, allocations: 0 / 1.062 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.3955, allocations: 4 kB / 1.062 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3955, allocations: 0 / 1.062 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3956, allocations: 4 kB / 1.062 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3956, allocations: 3.938 kB / 1.062 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3956, allocations: 0 / 1.062 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.3957, allocations: 191.3 kB / 1.062 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.3958, allocations: 81.11 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.3958, allocations: 8 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.145e-05/0.3959, allocations: 7.984 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.396, allocations: 11.98 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.396, allocations: 0 / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.605e-05/0.396, allocations: 83.28 kB / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3961, allocations: 0 / 1.063 GB, free: 284 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002286/0.3963, allocations: 19.98 kB / 1.063 GB, free: 264 kB / 0.8106 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.0001251/0.3964, allocations: 97.5 kB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.3966, allocations: 55.86 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3966, allocations: 0 / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/0.3966, allocations: 23.98 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.3969, allocations: 20.02 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.3973, allocations: 176.5 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.3976, allocations: 0.6902 MB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.3977, allocations: 8.375 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.3977, allocations: 11.44 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3977, allocations: 0 / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of Templates: time 0.002864/0.4006, allocations: 0.657 MB / 1.064 GB, free: 14.47 MB / 0.8262 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches