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: translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.319/1.319, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.45/2.45, allocations: 437 MB / 0.7104 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6149/0.6163, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002325/0.6187, allocations: 0.8686 MB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.6199, allocations: 0.8817 MB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.556e-05/0.62, allocations: 8 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.541e-05/0.6201, allocations: 7.875 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.594e-05/0.6202, allocations: 11.81 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.6204, allocations: 39.94 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.6205, allocations: 111.7 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.6207, allocations: 41.09 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.6209, allocations: 55.7 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.621, allocations: 47.78 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.621, allocations: 8 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.033e-05/0.621, allocations: 12 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.216e-05/0.6211, allocations: 23.91 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.081e-05/0.6212, allocations: 51.73 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.6213, allocations: 117.6 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.6214, allocations: 0 / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6214, allocations: 0 / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.6214, allocations: 0 / 1.019 GB, free: 204 kB / 0.7637 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.0009973/0.6224, allocations: 470.9 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.6224, allocations: 8.031 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.6225, allocations: 16.84 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.6226, allocations: 189.4 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.6227, allocations: 4.375 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.717e-05/0.6227, allocations: 8.375 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.6229, allocations: 96.33 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.6229, allocations: 4.172 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.623, allocations: 7.922 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.623, allocations: 4 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.6231, allocations: 59.97 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008203/0.624, allocations: 404.4 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.6241, allocations: 70.48 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.676e-05/0.6243, allocations: 32.97 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.6243, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.6243, allocations: 34.56 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.6243, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5): time 0.0003808/0.6247, allocations: 105.6 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.6248, allocations: 59.34 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.625, allocations: 160.1 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.625, allocations: 25.7 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.6251, allocations: 112 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.6251, allocations: 15.89 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.6252, allocations: 29.64 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6253, allocations: 318.8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.519e-05/0.6254, allocations: 31.98 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.761e-05/0.6255, allocations: 27.98 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.6256, allocations: 52.97 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6256, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002221/0.6259, allocations: 93.58 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.6259, allocations: 11.92 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6259, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.6259, allocations: 11.94 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-05/0.626, allocations: 4 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.626, allocations: 3.938 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.6262, allocations: 27.95 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.6262, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 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 0.0001026/0.6264, allocations: 128.7 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.6264, allocations: 7.906 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.156e-05/0.6264, allocations: 8.312 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.6264, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6265, allocations: 3.938 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.6265, allocations: 3.984 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.6267, allocations: 201.5 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.6267, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.877e-05/0.6267, allocations: 12.23 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.6268, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.6268, allocations: 8 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.6268, allocations: 7.922 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6268, allocations: 3.938 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.627, allocations: 179.4 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.6271, allocations: 92.94 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.6271, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.6273, allocations: 23.97 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.6274, allocations: 23.91 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.6274, allocations: 0 / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.632e-05/0.6275, allocations: 117.1 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6275, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002436/0.6278, allocations: 16 kB / 1.023 GB, free: 12.61 MB / 0.7794 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.0001113/0.6279, allocations: 107.2 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002369/0.6281, allocations: 67.89 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6281, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.6283, allocations: 35.98 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.6286, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004459/0.629, allocations: 211.8 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.6293, allocations: 0.7002 MB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.462e-05/0.6294, allocations: 4 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.6294, allocations: 11.44 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.6294, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.003691/0.6331, allocations: 1.361 MB / 1.025 GB, free: 10.07 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile (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 & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/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