Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_9_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.004417/0.004417, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.00107/0.00107, allocations: 187.4 kB / 16.67 MB, free: 5.918 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.262/1.262, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.138/2.138, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.89 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6792/0.6804, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.001858/0.6823, allocations: 0.8836 MB / 1.088 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009849/0.6833, allocations: 0.8722 MB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.6834, allocations: 2.25 kB / 1.089 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.6834, allocations: 8.672 kB / 1.089 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.756e-05/0.6836, allocations: 16.44 kB / 1.089 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001655/0.6837, allocations: 36.23 kB / 1.089 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.6839, allocations: 114.4 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.684, allocations: 40.17 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/0.6841, allocations: 48.55 kB / 1.089 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.009e-05/0.6842, allocations: 51.81 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.6842, allocations: 10.25 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.6842, allocations: 10.97 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.6843, allocations: 19.11 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.6843, allocations: 58.41 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.6845, allocations: 129.3 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6845, allocations: 4 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6845, allocations: 0 / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.6845, allocations: 0 / 1.09 GB, free: 3.746 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007874/0.6853, allocations: 457.5 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.6853, allocations: 10.55 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.6854, allocations: 38.61 kB / 1.09 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.6854, allocations: 14 kB / 1.09 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.6855, allocations: 185.6 kB / 1.09 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.6856, allocations: 3.656 kB / 1.09 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.6856, allocations: 8.75 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.6858, allocations: 91.27 kB / 1.09 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.6858, allocations: 3.938 kB / 1.09 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.6858, allocations: 0.8125 kB / 1.09 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6858, allocations: 2.625 kB / 1.09 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.686, allocations: 68.81 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.6867, allocations: 402.3 kB / 1.091 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.6868, allocations: 69.3 kB / 1.091 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.607e-05/0.6869, allocations: 32.12 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.687, allocations: 5.359 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.687, allocations: 32.09 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.687, allocations: 0 / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0003341/0.6873, allocations: 113.8 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.825e-05/0.6873, allocations: 56.41 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.6875, allocations: 154.1 kB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.6875, allocations: 30.7 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.6875, allocations: 108.4 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.6876, allocations: 15.61 kB / 1.092 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.6876, allocations: 21.25 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.269e-05/0.6876, allocations: 329.1 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.919e-05/0.6877, allocations: 27.7 kB / 1.092 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.6878, allocations: 32.41 kB / 1.092 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.688, allocations: 48.78 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.688, allocations: 0 / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002049/0.6882, allocations: 98.86 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.6882, allocations: 9.781 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.6882, allocations: 0 / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6882, allocations: 1.484 kB / 1.092 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.6883, allocations: 13.02 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.6883, allocations: 4.625 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001843/0.6885, allocations: 26.7 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.6885, allocations: 6.125 kB / 1.092 GB, free: 1.719 MB / 0.8575 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 6.376e-05/0.6886, allocations: 120.5 kB / 1.092 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.6887, allocations: 9.328 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.285e-05/0.6887, allocations: 11.77 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6887, allocations: 1.406 kB / 1.092 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.6887, allocations: 3.938 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.6887, allocations: 1.578 kB / 1.092 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.6889, allocations: 203.3 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.6889, allocations: 0 / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.885e-05/0.689, allocations: 12.78 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.689, allocations: 1.672 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.689, allocations: 0.5156 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.689, allocations: 0.7188 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.689, allocations: 5.469 kB / 1.092 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.6892, allocations: 184.8 kB / 1.093 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.367e-05/0.6892, allocations: 87.94 kB / 1.093 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.6893, allocations: 6.391 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.6895, allocations: 25.12 kB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/0.6896, allocations: 14.89 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.6896, allocations: 6.453 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.376e-05/0.6896, allocations: 112 kB / 1.093 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6896, allocations: 4 kB / 1.093 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002351/0.6899, allocations: 16.53 kB / 1.093 GB, free: 1.004 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: 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.0004152/0.6903, allocations: 0.7233 MB / 1.094 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.6905, allocations: 71.62 kB / 1.094 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.6905, allocations: 3.938 kB / 1.094 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.417e-05/0.6906, allocations: 35.38 kB / 1.094 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.6909, allocations: 14.86 kB / 1.094 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.6926, allocations: 1.59 MB / 1.095 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.6928, allocations: 0.701 MB / 1.096 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.36e-05/0.6929, allocations: 9.359 kB / 1.096 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.435e-05/0.6929, allocations: 34.75 kB / 1.096 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/0.6929, allocations: 0.625 kB / 1.096 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.711, allocations: 2.749 MB / 1.099 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.442/8.153, allocations: 6.984 kB / 1.099 GB, free: 13.76 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches