Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.004716/0.004716, allocations: 100.3 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.001132/0.001132, allocations: 195 kB / 16.67 MB, free: 5.93 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.303/1.303, 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 10.1.1-maint.10.0.x/package.mo): time 2.455/2.455, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.89 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7668/0.7681, allocations: 151.6 MB / 1.166 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001949/0.77, allocations: 0.8876 MB / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009076/0.771, allocations: 0.8779 MB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.771, allocations: 0 / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.761e-05/0.7711, allocations: 7.875 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.027e-05/0.7712, allocations: 23.78 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.7713, allocations: 35.91 kB / 1.168 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.7715, allocations: 111.7 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.7716, allocations: 45.08 kB / 1.168 GB, free: 1.809 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.7717, allocations: 43.8 kB / 1.168 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 8.992e-05/0.7718, allocations: 47.77 kB / 1.168 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.7718, allocations: 12 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.784e-05/0.7719, allocations: 8 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.7719, allocations: 27.91 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.386e-05/0.772, allocations: 51.73 kB / 1.168 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.7721, allocations: 123.2 kB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7721, allocations: 4 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7721, allocations: 0 / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.718e-06/0.7722, allocations: 0 / 1.168 GB, free: 1.5 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008344/0.773, allocations: 466.9 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.773, allocations: 12.86 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.7731, allocations: 38.75 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.7731, allocations: 12.84 kB / 1.169 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.7733, allocations: 186.3 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.7733, allocations: 8.375 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.7733, allocations: 8.375 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.7735, allocations: 90.2 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.7735, allocations: 7.922 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.7735, allocations: 7.938 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.7736, allocations: 0 / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.7737, allocations: 71.84 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006868/0.7744, allocations: 408.5 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.7746, allocations: 70.55 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.7747, allocations: 28.97 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.7747, allocations: 4 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.7748, allocations: 30.56 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.7748, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5): time 0.0003344/0.7751, allocations: 113.5 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.7751, allocations: 59.34 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.7753, allocations: 153 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.7753, allocations: 33.7 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/0.7754, allocations: 104.2 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.7754, allocations: 11.91 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.7754, allocations: 25.7 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.7755, allocations: 322.8 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.466e-05/0.7756, allocations: 27.98 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.7757, allocations: 27.98 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.7759, allocations: 48.83 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.7759, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002042/0.7761, allocations: 105.5 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.7761, allocations: 4 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.7761, allocations: 8 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.7761, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.56e-05/0.7762, allocations: 4 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.7762, allocations: 7.922 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.7764, allocations: 31.86 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.7764, allocations: 0 / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.943e-05/0.7765, allocations: 127.3 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.7766, allocations: 7.953 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.7766, allocations: 12.31 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.7766, allocations: 0 / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7766, allocations: 3.938 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7766, allocations: 3.984 kB / 1.171 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.7768, allocations: 201.5 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7768, allocations: 4 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.546e-05/0.7769, allocations: 4 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.7769, allocations: 7.938 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.7769, allocations: 3.984 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.7769, allocations: 4 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7769, allocations: 3.938 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.7772, allocations: 179.7 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.7772, allocations: 93 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.7773, allocations: 7.938 kB / 1.171 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.7775, allocations: 27.97 kB / 1.171 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.7775, allocations: 11.92 kB / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.7775, allocations: 0 / 1.171 GB, free: 14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.571e-05/0.7776, allocations: 117.9 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7776, allocations: 3.938 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002354/0.7779, allocations: 24 kB / 1.172 GB, free: 13.86 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0004801/0.7784, allocations: 0.7085 MB / 1.172 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.7786, allocations: 71.89 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7786, allocations: 4 kB / 1.172 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-05/0.7787, allocations: 27.98 kB / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.779, allocations: 19.92 kB / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.7807, allocations: 1.593 MB / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.7809, allocations: 0.7002 MB / 1.175 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.788e-05/0.781, allocations: 4 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.781, allocations: 31.42 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of SimCode: time 4.01e-07/0.7811, allocations: 0 / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/0.7992, allocations: 2.755 MB / 1.177 GB, free: 7.938 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.637/8.437, allocations: 15.53 kB / 1.177 GB, free: 7.926 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches