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.007551/0.007551, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001757/0.001757, allocations: 190 kB / 16.67 MB, free: 5.48 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.101/2.101, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 59.91 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.782/0.7833, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002241/0.7856, allocations: 1.473 MB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000608/0.7862, allocations: 443.4 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.7862, allocations: 1.156 kB / 1.089 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.7863, allocations: 4.734 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.853e-05/0.7863, allocations: 6.328 kB / 1.089 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.7865, allocations: 28.44 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.793e-05/0.7866, allocations: 52.27 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.064e-05/0.7867, allocations: 15.98 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.7867, allocations: 26.06 kB / 1.089 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.853e-05/0.7868, allocations: 19.8 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.7868, allocations: 4.156 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.7868, allocations: 5.156 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.7869, allocations: 11.55 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.7869, allocations: 25.47 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.787, allocations: 39.36 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.787, allocations: 4 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.787, allocations: 1 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.787, allocations: 4.75 kB / 1.09 GB, free: 3.828 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.0003986/0.7874, allocations: 357.4 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.7875, allocations: 9.656 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.7875, allocations: 37.97 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.7875, allocations: 8.656 kB / 1.09 GB, free: 3.418 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.653e-05/0.7876, allocations: 176 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.7876, allocations: 6.5 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.7877, allocations: 5.156 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.757e-05/0.7878, allocations: 61.95 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.7878, allocations: 1.094 kB / 1.09 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.7878, allocations: 4.609 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.7878, allocations: 1.875 kB / 1.09 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.964e-05/0.7879, allocations: 29.55 kB / 1.09 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.7883, allocations: 303.7 kB / 1.09 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.542e-05/0.7884, allocations: 57.27 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.7884, allocations: 27 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.7884, allocations: 0.7812 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.7886, allocations: 69.91 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.7886, allocations: 0 / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0002044/0.7888, allocations: 101.6 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.7888, allocations: 57.69 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.26e-05/0.7889, allocations: 108 kB / 1.091 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.7889, allocations: 31.28 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/0.7889, allocations: 86.88 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.789, allocations: 21.41 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.789, allocations: 24.19 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.946e-05/0.7891, allocations: 322.2 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.477e-05/0.7891, allocations: 16.47 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.473e-05/0.7891, allocations: 47.73 kB / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.419e-05/0.7892, allocations: 69.28 kB / 1.091 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7892, allocations: 1.094 kB / 1.091 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001208/0.7894, allocations: 93.33 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.7894, allocations: 10.09 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.7894, allocations: 5.219 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.7894, allocations: 0.9219 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.7895, allocations: 21.73 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.7895, allocations: 2.734 kB / 1.092 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.7896, allocations: 10.86 kB / 1.092 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.7896, allocations: 6.344 kB / 1.092 GB, free: 1.855 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.119e-05/0.7896, allocations: 120.2 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.7897, allocations: 10.3 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.876e-05/0.7897, allocations: 6.594 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.7897, allocations: 5.375 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.7897, allocations: 3.938 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.7897, allocations: 1.984 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.79, allocations: 364 kB / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7901, allocations: 0 / 1.092 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.7901, allocations: 7.734 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7901, allocations: 1.031 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.7901, allocations: 1.906 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.7901, allocations: 8.938 kB / 1.092 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7901, allocations: 0.5156 kB / 1.092 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.7902, allocations: 178.9 kB / 1.092 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.7903, allocations: 86.88 kB / 1.092 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.7903, allocations: 1.906 kB / 1.092 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/0.7904, allocations: 13.41 kB / 1.092 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.7904, allocations: 11.75 kB / 1.092 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.7904, allocations: 2.312 kB / 1.092 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.424e-05/0.7905, allocations: 88.41 kB / 1.092 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7905, allocations: 0 / 1.092 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002327/0.7907, allocations: 12.31 kB / 1.093 GB, free: 1.02 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.0003574/0.7911, allocations: 0.7104 MB / 1.093 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000135/0.7912, allocations: 58.16 kB / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7912, allocations: 0 / 1.093 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.886e-05/0.7913, allocations: 31.94 kB / 1.093 GB, free: 16.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.7915, allocations: 13 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.001197/0.7928, allocations: 1.38 MB / 1.095 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.793, allocations: 0.6851 MB / 1.095 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.793, allocations: 5.062 kB / 1.095 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.7931, allocations: 20.66 kB / 1.095 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.7931, allocations: 0 / 1.095 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.8088, allocations: 1.765 MB / 1.097 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.854/7.663, allocations: 1.594 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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