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.007055/0.007055, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.00172/0.00172, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.276/1.276, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.087/2.087, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.89 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7683/0.7695, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002425/0.772, allocations: 1.471 MB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006776/0.7727, allocations: 437.8 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.652e-05/0.7727, allocations: 1.125 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.89e-05/0.7728, allocations: 5.109 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.436e-05/0.7729, allocations: 10.89 kB / 1.089 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.773, allocations: 20.88 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.671e-05/0.7731, allocations: 56.22 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.7732, allocations: 16.39 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.023e-05/0.7733, allocations: 29.97 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.486e-05/0.7734, allocations: 18.12 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.7734, allocations: 5.406 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.7734, allocations: 4.094 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.7734, allocations: 8.75 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.298e-05/0.7735, allocations: 25.5 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.7736, allocations: 46.17 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.7736, allocations: 4.562 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.526e-06/0.7736, allocations: 1.344 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.7736, allocations: 0 / 1.09 GB, free: 3.824 MB / 0.8575 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.0004574/0.7741, allocations: 356.3 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.7741, allocations: 9.781 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.7742, allocations: 46.53 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.11e-05/0.7742, allocations: 7.031 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.649e-05/0.7743, allocations: 165.6 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.7743, allocations: 10.59 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.7744, allocations: 5.109 kB / 1.09 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.7745, allocations: 61.8 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.7745, allocations: 0 / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.7745, allocations: 1.859 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.7745, allocations: 5.031 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.847e-05/0.7746, allocations: 26.25 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.7751, allocations: 303.1 kB / 1.09 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.7752, allocations: 57.97 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.959e-05/0.7753, allocations: 26.75 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.7753, allocations: 1.188 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.7755, allocations: 69.77 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.7755, allocations: 0 / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002441/0.7757, allocations: 101.1 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.7758, allocations: 54.02 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.769e-05/0.7758, allocations: 111.4 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.7759, allocations: 31.3 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.7759, allocations: 86.84 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.7759, allocations: 20.92 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.776, allocations: 28.34 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.857e-05/0.776, allocations: 323.1 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.7761, allocations: 23.25 kB / 1.091 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-05/0.7761, allocations: 44.23 kB / 1.091 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.169e-05/0.7762, allocations: 69.58 kB / 1.091 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7762, allocations: 1.125 kB / 1.091 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001378/0.7764, allocations: 88.92 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.7764, allocations: 13.56 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7764, allocations: 1.844 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.7764, allocations: 2.703 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.5e-05/0.7765, allocations: 17.02 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.7765, allocations: 1.25 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.831e-05/0.7766, allocations: 20.09 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.7766, allocations: 7.5 kB / 1.092 GB, free: 1.848 MB / 0.8575 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.269e-05/0.7767, allocations: 115.1 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.7767, allocations: 5.5 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.7767, allocations: 10.62 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.7767, allocations: 1.219 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.7767, allocations: 1.062 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.7768, allocations: 0.75 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003585/0.7771, allocations: 364 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7771, allocations: 0 / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.715e-05/0.7772, allocations: 4.453 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.7772, allocations: 1.641 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.7772, allocations: 4.516 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.7772, allocations: 5.125 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7772, allocations: 0.5156 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.7773, allocations: 178.5 kB / 1.092 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.7774, allocations: 84.41 kB / 1.092 GB, free: 1.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.7774, allocations: 5.469 kB / 1.092 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.7775, allocations: 10.08 kB / 1.092 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.7775, allocations: 14.56 kB / 1.092 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.7776, allocations: 2.141 kB / 1.092 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.975e-05/0.7776, allocations: 81.78 kB / 1.092 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7776, allocations: 0 / 1.092 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002348/0.7778, allocations: 14.84 kB / 1.092 GB, free: 1.027 MB / 0.8575 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.0003744/0.7782, allocations: 0.7176 MB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.7784, allocations: 55.14 kB / 1.093 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7784, allocations: 0 / 1.093 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.085e-05/0.7784, allocations: 27.48 kB / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.7787, allocations: 19.98 kB / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.78, allocations: 1.393 MB / 1.095 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.7802, allocations: 0.6854 MB / 1.095 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.069e-05/0.7803, allocations: 9.344 kB / 1.095 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.7803, allocations: 20.41 kB / 1.095 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.7803, allocations: 0 / 1.095 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.7985, allocations: 1.75 MB / 1.097 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.566/8.364, allocations: 5.875 kB / 1.097 GB, free: 13.89 MB / 0.8731 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