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.001205/0.001205, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001209/0.001209, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.205/1.205, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.301/2.301, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 71.88 kB / 0.8686 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4786/0.4798, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002309/0.4821, allocations: 1.533 MB / 1.018 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005271/0.4827, allocations: 443 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.4827, allocations: 0 / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.4827, allocations: 3.938 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.354e-05/0.4828, allocations: 7.922 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.4829, allocations: 15.98 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.594e-05/0.483, allocations: 51.84 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.4831, allocations: 19.98 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.927e-05/0.4831, allocations: 15.94 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.671e-05/0.4832, allocations: 23.84 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.4832, allocations: 4 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.4832, allocations: 0 / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.4832, allocations: 11.98 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.4833, allocations: 27.86 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.798e-05/0.4834, allocations: 38.14 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4834, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.71e-07/0.4834, allocations: 4 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.4834, allocations: 0 / 1.019 GB, free: 0.6094 MB / 0.7637 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.000412/0.4838, allocations: 361.3 kB / 1.019 GB, free: 216 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.4838, allocations: 8.031 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.4839, allocations: 38.73 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.175e-05/0.4839, allocations: 0.9375 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.484, allocations: 172.3 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.484, allocations: 8.312 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.4841, allocations: 4.375 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.789e-05/0.4842, allocations: 61.8 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-06/0.4842, allocations: 0 / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.4842, allocations: 7.984 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4842, allocations: 4 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.525e-05/0.4843, allocations: 19.98 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.4847, allocations: 312.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.4848, allocations: 62.56 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.4848, allocations: 20.89 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.4848, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001239/0.485, allocations: 79.31 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 2.485e-06/0.485, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0001911/0.4852, allocations: 105.5 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.4852, allocations: 55.41 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.986e-05/0.4853, allocations: 105.8 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.4853, allocations: 29.7 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.4853, allocations: 88.05 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.4854, allocations: 19.72 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.4854, allocations: 29.7 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.4855, allocations: 322.8 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.115e-05/0.4855, allocations: 16 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.951e-05/0.4856, allocations: 47.36 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.339e-05/0.4857, allocations: 63.42 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4857, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001278/0.4858, allocations: 97.56 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.4858, allocations: 8.031 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.4858, allocations: 3.984 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.4858, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.4859, allocations: 8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4859, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.486, allocations: 15.83 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-06/0.486, allocations: 7.938 kB / 1.021 GB, free: 14.21 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.832e-05/0.4861, allocations: 124.1 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.4861, allocations: 4 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.54e-05/0.4861, allocations: 15.95 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.4861, allocations: 384 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4861, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4861, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.4865, allocations: 366.3 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4865, allocations: 0 / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.812e-05/0.4865, allocations: 8.062 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4865, allocations: 3.938 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.4865, allocations: 4 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.4866, allocations: 7.938 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4866, allocations: 3.938 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001375/0.4867, allocations: 175.5 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.4867, allocations: 81.02 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.4868, allocations: 3.938 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.4868, allocations: 11.92 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.755e-05/0.4869, allocations: 15.98 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.4869, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.095e-05/0.4869, allocations: 79.28 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4869, allocations: 0 / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002198/0.4872, allocations: 16 kB / 1.022 GB, free: 13.2 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.0003405/0.4875, allocations: 0.7124 MB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.4876, allocations: 52.19 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.4876, allocations: 0 / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.998e-05/0.4877, allocations: 35.88 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.4879, allocations: 11.92 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.489, allocations: 1.382 MB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000187/0.4892, allocations: 0.6848 MB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.788e-05/0.4892, allocations: 11.92 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.4893, allocations: 23.44 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.4893, allocations: 3.938 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.507, allocations: 1.516 MB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.5072, allocations: 199.2 kB / 1.026 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.449/1.957, allocations: 0 / 1.026 GB, free: 8.449 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