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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006376/0.006376, allocations: 99.89 kB / 15.73 MB, free: 6.02 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.00168/0.00168, allocations: 193.7 kB / 16.67 MB, free: 5.934 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.523/1.523, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.808/2.808, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 71.89 kB / 1.018 GB, free: 9.98 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7768/0.7788, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.003013/0.7819, allocations: 1.475 MB / 1.168 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008625/0.7828, allocations: 450.9 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.7829, allocations: 0 / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.917e-05/0.783, allocations: 7.922 kB / 1.168 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.055e-05/0.7831, allocations: 7.922 kB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.7833, allocations: 19.92 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.7834, allocations: 47.91 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.7835, allocations: 15.98 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.111e-05/0.7836, allocations: 15.94 kB / 1.168 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/0.7837, allocations: 27.89 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.7837, allocations: 11.94 kB / 1.168 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.7837, allocations: 4 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.7838, allocations: 15.92 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.7838, allocations: 19.94 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.784, allocations: 44.8 kB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.784, allocations: 7.922 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.024e-06/0.784, allocations: 0 / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.784, allocations: 0 / 1.168 GB, free: 1.637 MB / 0.8887 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.0006325/0.7847, allocations: 370 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.7847, allocations: 8.922 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.655e-05/0.7848, allocations: 38.75 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.949e-05/0.7848, allocations: 0.9375 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.785, allocations: 172.3 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.785, allocations: 16.28 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.785, allocations: 8.375 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.7852, allocations: 53.81 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.7852, allocations: 0 / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.7852, allocations: 0 / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.7852, allocations: 8 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.7853, allocations: 23.98 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.7859, allocations: 296.7 kB / 1.169 GB, free: 0.5156 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.786, allocations: 54.56 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.083e-05/0.7861, allocations: 24.94 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.7861, allocations: 4 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002427/0.7864, allocations: 75.38 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=9): time 2.455e-06/0.7864, allocations: 0 / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of matching and sorting (n=9): time 0.0002722/0.7866, allocations: 101.6 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.7867, allocations: 55.78 kB / 1.169 GB, free: 168 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.7868, allocations: 109.7 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.7869, allocations: 33.7 kB / 1.17 GB, free: 8 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.57e-05/0.7869, allocations: 84.14 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.787, allocations: 31.77 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.787, allocations: 25.72 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.7872, allocations: 326.8 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.665e-05/0.7873, allocations: 12 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.7873, allocations: 47.36 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.7874, allocations: 67.42 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7874, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002019/0.7877, allocations: 101.5 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7877, allocations: 4 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.7877, allocations: 0 / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.7877, allocations: 4.062 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.73e-05/0.7878, allocations: 12.28 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.7878, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.585e-05/0.7879, allocations: 19.95 kB / 1.17 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.7879, allocations: 7.938 kB / 1.17 GB, free: 15.23 MB / 0.9044 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 0.0001184/0.7881, allocations: 124 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.7881, allocations: 4 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.7881, allocations: 7.969 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.7881, allocations: 0 / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7881, allocations: 4 kB / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.7882, allocations: 0 / 1.17 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.7887, allocations: 362.4 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.7887, allocations: 0 / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.7887, allocations: 4 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.7887, allocations: 0 / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.7888, allocations: 0 / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.7888, allocations: 7.875 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.7888, allocations: 4 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.789, allocations: 187.5 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.789, allocations: 81.14 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.7891, allocations: 7.938 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.105e-05/0.7892, allocations: 11.92 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.7892, allocations: 11.92 kB / 1.171 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.7892, allocations: 4 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.581e-05/0.7893, allocations: 83.28 kB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7893, allocations: 0 / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002639/0.7896, allocations: 16 kB / 1.171 GB, free: 14.23 MB / 0.9044 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.0005705/0.7902, allocations: 0.7151 MB / 1.172 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001751/0.7904, allocations: 55.91 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7904, allocations: 0 / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.225e-05/0.7904, allocations: 27.94 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.7908, allocations: 19.98 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.7923, allocations: 1.367 MB / 1.173 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.7927, allocations: 0.6924 MB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.668e-05/0.7927, allocations: 8.281 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.7928, allocations: 15.44 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.7928, allocations: 3.938 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03134/0.8241, allocations: 1.75 MB / 1.176 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/9.3, allocations: 6.312 kB / 1.176 GB, free: 9.508 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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