Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_9_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.001222/0.001222, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.159/1.159, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.053/2.053, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.479/0.4802, allocations: 140.4 MB / 0.9497 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.001969/0.4822, allocations: 1.455 MB / 0.9511 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005149/0.4827, allocations: 448.7 kB / 0.9516 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.4828, allocations: 0 / 0.9516 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.4828, allocations: 7.875 kB / 0.9516 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.915e-05/0.4829, allocations: 17.69 kB / 0.9516 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.483, allocations: 19.73 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.483, allocations: 52.31 kB / 0.9516 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.591e-05/0.4831, allocations: 14.11 kB / 0.9517 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.241e-05/0.4832, allocations: 23.28 kB / 0.9517 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.453e-05/0.4832, allocations: 21.14 kB / 0.9517 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.4832, allocations: 4.844 kB / 0.9517 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.255e-05/0.4833, allocations: 4.844 kB / 0.9517 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.4833, allocations: 13.45 kB / 0.9517 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.4833, allocations: 22.83 kB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.036e-05/0.4834, allocations: 48.81 kB / 0.9518 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.4834, allocations: 0 / 0.9518 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4834, allocations: 1.188 kB / 0.9518 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.4834, allocations: 3.938 kB / 0.9518 GB, free: 7.57 MB / 0.7169 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.0003518/0.4838, allocations: 360.4 kB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.4838, allocations: 13.59 kB / 0.9522 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.085e-05/0.4838, allocations: 36.25 kB / 0.9522 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.4839, allocations: 4.938 kB / 0.9522 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.176e-05/0.4839, allocations: 170.6 kB / 0.9524 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.484, allocations: 3.312 kB / 0.9524 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.484, allocations: 7.094 kB / 0.9524 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.429e-05/0.4841, allocations: 64.39 kB / 0.9524 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4841, allocations: 0 / 0.9524 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.4841, allocations: 1.344 kB / 0.9524 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4841, allocations: 0 / 0.9524 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.876e-05/0.4842, allocations: 26.36 kB / 0.9525 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.4845, allocations: 309.6 kB / 0.9527 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.411e-05/0.4846, allocations: 53.97 kB / 0.9528 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.4846, allocations: 27.72 kB / 0.9528 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.4846, allocations: 0.8438 kB / 0.9528 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/0.4848, allocations: 84.28 kB / 0.9529 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.4848, allocations: 0 / 0.9529 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000173/0.4849, allocations: 98.44 kB / 0.953 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.291e-05/0.485, allocations: 56.39 kB / 0.9531 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.372e-05/0.485, allocations: 101.2 kB / 0.9532 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.485, allocations: 30.95 kB / 0.9532 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.182e-05/0.4851, allocations: 90.84 kB / 0.9533 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.578e-05/0.4851, allocations: 19.61 kB / 0.9533 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.4851, allocations: 34.05 kB / 0.9533 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.392e-05/0.4852, allocations: 321.2 kB / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.992e-05/0.4852, allocations: 16.86 kB / 0.9536 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.4852, allocations: 44.64 kB / 0.9537 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.57e-05/0.4853, allocations: 67.89 kB / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4853, allocations: 4 kB / 0.9538 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000115/0.4854, allocations: 98.64 kB / 0.9538 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.4854, allocations: 5.156 kB / 0.9539 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4854, allocations: 1.281 kB / 0.9539 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.4855, allocations: 1.531 kB / 0.9539 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.883e-05/0.4855, allocations: 11.84 kB / 0.9539 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4855, allocations: 5.328 kB / 0.9539 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.847e-05/0.4856, allocations: 12.25 kB / 0.9539 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.4856, allocations: 7.969 kB / 0.9539 GB, free: 5.496 MB / 0.7169 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 5.372e-05/0.4857, allocations: 118.3 kB / 0.954 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.4857, allocations: 6.594 kB / 0.954 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.4857, allocations: 13.36 kB / 0.954 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.4857, allocations: 4.969 kB / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4857, allocations: 0 / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4857, allocations: 1.125 kB / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.486, allocations: 351 kB / 0.9544 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.486, allocations: 5.094 kB / 0.9544 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.486, allocations: 7.062 kB / 0.9544 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.486, allocations: 0.6562 kB / 0.9544 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.4861, allocations: 9.625 kB / 0.9544 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4861, allocations: 7.922 kB / 0.9544 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4861, allocations: 1.5 kB / 0.9544 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.912e-05/0.4862, allocations: 175.4 kB / 0.9546 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.4862, allocations: 86.78 kB / 0.9546 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.4862, allocations: 5.219 kB / 0.9546 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.741e-05/0.4863, allocations: 6.219 kB / 0.9547 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.4863, allocations: 8.828 kB / 0.9547 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.4863, allocations: 6.312 kB / 0.9547 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.051e-05/0.4864, allocations: 82.48 kB / 0.9547 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4864, allocations: 1.094 kB / 0.9547 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002129/0.4866, allocations: 18.78 kB / 0.9548 GB, free: 4.625 MB / 0.7169 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.000232/0.4868, allocations: 0.7135 MB / 0.9555 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.4869, allocations: 53.36 kB / 0.9555 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.487, allocations: 0 / 0.9555 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.244e-05/0.487, allocations: 28.64 kB / 0.9555 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.4872, allocations: 15.41 kB / 0.9556 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008367/0.4881, allocations: 1.389 MB / 0.9569 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.344e-05/0.4882, allocations: 0.6965 MB / 0.9576 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.245e-05/0.4882, allocations: 9.141 kB / 0.9576 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.4882, allocations: 18.38 kB / 0.9576 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.4882, allocations: 0 / 0.9576 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/0.5109, allocations: 1.712 MB / 0.9593 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.548/7.059, allocations: 4.703 kB / 0.9593 GB, free: 0.8789 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_OffTimer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches