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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_10_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008667/0.0008666, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004898/0.004898, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.203/1.203, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.29/2.29, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002764/0.0002764, allocations: 8 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4773/0.4776, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001242/0.4789, allocations: 1.192 MB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0005242/0.4794, allocations: 431.1 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.4794, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.4795, allocations: 3.984 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.4795, allocations: 7.922 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.4797, allocations: 15.98 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.319e-05/0.4797, allocations: 47.86 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.017e-05/0.4798, allocations: 19.98 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.4799, allocations: 7.938 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.467e-05/0.4799, allocations: 23.91 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.4799, allocations: 3.984 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-06/0.4799, allocations: 4 kB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.48, allocations: 7.938 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.342e-05/0.48, allocations: 45.62 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.679e-05/0.4801, allocations: 42.06 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4801, allocations: 8 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4801, allocations: 4 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.4801, allocations: 0 / 1.025 GB, free: 13.97 MB / 0.7794 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.0003815/0.4805, allocations: 361 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.4805, allocations: 12.03 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.893e-05/0.4806, allocations: 34.69 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.4806, allocations: 4.938 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.623e-05/0.4807, allocations: 168.4 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.4807, allocations: 12.36 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.4807, allocations: 4.375 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.09e-05/0.4808, allocations: 57.56 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.069e-06/0.4808, allocations: 4 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.4809, allocations: 4 kB / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.4809, allocations: 0 / 1.026 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.121e-05/0.4809, allocations: 23.98 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.4813, allocations: 316.6 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.459e-05/0.4814, allocations: 54.66 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.4815, allocations: 28.88 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.894e-06/0.4815, allocations: 0 / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001264/0.4816, allocations: 71.39 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.4816, allocations: 3.938 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0001826/0.4818, allocations: 97.58 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.4818, allocations: 59.34 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.4819, allocations: 109.8 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.4819, allocations: 29.7 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.539e-05/0.482, allocations: 88.05 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.977e-05/0.482, allocations: 23.8 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.482, allocations: 18.09 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.4821, allocations: 318.8 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/0.4821, allocations: 23.94 kB / 1.027 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.293e-05/0.4822, allocations: 39.42 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.367e-05/0.4823, allocations: 75.3 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4823, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001214/0.4824, allocations: 93.53 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.4824, allocations: 13.86 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.4824, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.834e-06/0.4824, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.331e-05/0.4825, allocations: 11.94 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.4825, allocations: 4 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.4826, allocations: 15.86 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.4826, allocations: 12.03 kB / 1.027 GB, free: 11.57 MB / 0.7794 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 6.697e-05/0.4827, allocations: 118.4 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.007e-05/0.4827, allocations: 3.906 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.282e-05/0.4827, allocations: 7.969 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.4827, allocations: 4 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4827, allocations: 0 / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4827, allocations: 3.938 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.483, allocations: 366.4 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4831, allocations: 4.062 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-05/0.4831, allocations: 4 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4831, allocations: 0 / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.4831, allocations: 7.938 kB / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.4831, allocations: 0 / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4831, allocations: 0 / 1.028 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.4832, allocations: 187.4 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.4833, allocations: 77.11 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.4833, allocations: 7.938 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.4834, allocations: 11.98 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.1e-05/0.4834, allocations: 8.266 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.18e-06/0.4834, allocations: 4.188 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.169e-05/0.4835, allocations: 87.27 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4835, allocations: 7.875 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002062/0.4837, allocations: 15.91 kB / 1.028 GB, free: 10.55 MB / 0.7794 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.0003205/0.484, allocations: 0.7146 MB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.4841, allocations: 59.78 kB / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.4841, allocations: 0 / 1.029 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.223e-05/0.4842, allocations: 24 kB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.4844, allocations: 12.05 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.4854, allocations: 1.386 MB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.4856, allocations: 0.6887 MB / 1.031 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.394e-05/0.4856, allocations: 7.938 kB / 1.031 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.4857, allocations: 23.42 kB / 1.031 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.4857, allocations: 0 / 1.031 GB, free: 7.492 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.482/1.968, allocations: 1.461 MB / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003658/1.968, allocations: 208.9 kB / 1.032 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/3.876, allocations: 0 / 1.032 GB, free: 5.891 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_Continuous_Examples_OffTimer.fmu > 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