Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 225.6 MB / 249.4 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 496.2 MB / 0.7819 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.91 kB / 1.136 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.201/1.203, allocations: 173.6 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002409/1.206, allocations: 1.667 MB / 1.307 GB, free: 32.26 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2033/1.409, allocations: 147.8 MB / 1.451 GB, free: 4.801 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/1.409, allocations: 1.406 kB / 1.451 GB, free: 4.801 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 7.813e-05/1.409, allocations: 9.797 kB / 1.451 GB, free: 4.793 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0001425/1.41, allocations: 19.27 kB / 1.451 GB, free: 4.777 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001289/1.411, allocations: 247.2 kB / 1.452 GB, free: 4.66 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.000222/1.411, allocations: 91.42 kB / 1.452 GB, free: 4.617 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/1.411, allocations: 27.08 kB / 1.452 GB, free: 4.605 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/1.411, allocations: 39.38 kB / 1.452 GB, free: 4.586 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/1.411, allocations: 42.84 kB / 1.452 GB, free: 4.566 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/1.411, allocations: 8.812 kB / 1.452 GB, free: 4.566 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007013/1.412, allocations: 262.1 kB / 1.452 GB, free: 4.465 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/1.412, allocations: 18.64 kB / 1.452 GB, free: 4.453 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 7.914e-05/1.412, allocations: 45.27 kB / 1.452 GB, free: 4.422 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004621/1.413, allocations: 204.8 kB / 1.452 GB, free: 4.359 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/1.413, allocations: 1.031 kB / 1.452 GB, free: 4.359 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.603e-06/1.413, allocations: 3.938 kB / 1.452 GB, free: 4.355 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.983e-06/1.413, allocations: 0 / 1.452 GB, free: 4.355 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000799/1.414, allocations: 429.3 kB / 1.453 GB, free: 3.953 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.414, allocations: 8.469 kB / 1.453 GB, free: 3.953 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/1.415, allocations: 161.4 kB / 1.453 GB, free: 3.93 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/1.415, allocations: 178.8 kB / 1.453 GB, free: 3.723 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.627e-05/1.415, allocations: 40.47 kB / 1.453 GB, free: 3.684 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/1.415, allocations: 4.781 kB / 1.453 GB, free: 3.684 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005992/1.416, allocations: 160.3 kB / 1.453 GB, free: 3.621 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.416, allocations: 0 / 1.453 GB, free: 3.621 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/1.416, allocations: 1.344 kB / 1.453 GB, free: 3.621 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/1.416, allocations: 1.125 kB / 1.453 GB, free: 3.621 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008467/1.417, allocations: 193.5 kB / 1.453 GB, free: 3.582 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/1.418, allocations: 431.8 kB / 1.454 GB, free: 3.238 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/1.418, allocations: 133.2 kB / 1.454 GB, free: 3.184 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004204/1.419, allocations: 96.84 kB / 1.454 GB, free: 3.156 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/1.419, allocations: 5.062 kB / 1.454 GB, free: 3.152 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/1.419, allocations: 36.23 kB / 1.454 GB, free: 3.109 MB / 1.139 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/1.419, allocations: 0 / 1.454 GB, free: 3.109 MB / 1.139 GB Notification: Performance of matching and sorting (n=6): time 0.001506/1.42, allocations: 309.6 kB / 1.454 GB, free: 3.02 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/1.42, allocations: 52.75 kB / 1.454 GB, free: 2.957 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/1.42, allocations: 148.2 kB / 1.455 GB, free: 2.84 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/1.42, allocations: 25.7 kB / 1.455 GB, free: 2.809 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 9.182e-05/1.421, allocations: 94.7 kB / 1.455 GB, free: 2.719 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/1.421, allocations: 27.86 kB / 1.455 GB, free: 2.695 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/1.421, allocations: 25.09 kB / 1.455 GB, free: 2.672 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002076/1.421, allocations: 321 kB / 1.455 GB, free: 2.355 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/1.421, allocations: 86.59 kB / 1.455 GB, free: 2.34 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004076/1.422, allocations: 94.89 kB / 1.455 GB, free: 2.316 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008609/1.423, allocations: 174.8 kB / 1.455 GB, free: 2.273 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.423, allocations: 0 / 1.455 GB, free: 2.273 MB / 1.139 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008746/1.423, allocations: 215.5 kB / 1.456 GB, free: 2.203 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.423, allocations: 9.453 kB / 1.456 GB, free: 2.199 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.423, allocations: 0 / 1.456 GB, free: 2.199 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/1.424, allocations: 1.156 kB / 1.456 GB, free: 2.199 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/1.424, allocations: 40.41 kB / 1.456 GB, free: 2.195 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/1.424, allocations: 4.734 kB / 1.456 GB, free: 2.191 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/1.424, allocations: 33.58 kB / 1.456 GB, free: 2.188 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/1.424, allocations: 1.875 kB / 1.456 GB, free: 2.188 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.0001251/1.424, allocations: 118.2 kB / 1.456 GB, free: 2.066 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/1.424, allocations: 16.19 kB / 1.456 GB, free: 2.055 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/1.424, allocations: 12.62 kB / 1.456 GB, free: 2.039 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.424, allocations: 0 / 1.456 GB, free: 2.039 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.424, allocations: 1.188 kB / 1.456 GB, free: 2.039 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/1.424, allocations: 0.7969 kB / 1.456 GB, free: 2.039 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/1.425, allocations: 217.4 kB / 1.456 GB, free: 1.824 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.425, allocations: 1.062 kB / 1.456 GB, free: 1.824 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002836/1.425, allocations: 44.14 kB / 1.456 GB, free: 1.816 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.425, allocations: 4.75 kB / 1.456 GB, free: 1.812 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/1.425, allocations: 1.609 kB / 1.456 GB, free: 1.812 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/1.425, allocations: 0.5156 kB / 1.456 GB, free: 1.812 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/1.425, allocations: 1.125 kB / 1.456 GB, free: 1.812 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008928/1.426, allocations: 315.9 kB / 1.456 GB, free: 1.637 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/1.426, allocations: 95.53 kB / 1.457 GB, free: 1.527 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/1.426, allocations: 1.953 kB / 1.457 GB, free: 1.527 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/1.426, allocations: 31.95 kB / 1.457 GB, free: 1.523 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.418e-05/1.426, allocations: 13.89 kB / 1.457 GB, free: 1.516 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/1.426, allocations: 2.141 kB / 1.457 GB, free: 1.516 MB / 1.139 GB Notification: Performance of sorting global known variables: time 9.436e-05/1.426, allocations: 116.2 kB / 1.457 GB, free: 1.426 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/1.426, allocations: 0 / 1.457 GB, free: 1.426 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0002543/1.427, allocations: 21.47 kB / 1.457 GB, free: 1.422 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002435/1.427, allocations: 106.9 kB / 1.457 GB, free: 1.332 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0008781/1.428, allocations: 189.4 kB / 1.457 GB, free: 1.293 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/1.428, allocations: 1.125 kB / 1.457 GB, free: 1.293 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0004258/1.428, allocations: 96.97 kB / 1.457 GB, free: 1.273 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/1.429, allocations: 16.11 kB / 1.457 GB, free: 1.266 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/1.43, allocations: 318 kB / 1.457 GB, free: 1.098 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/1.43, allocations: 0.6953 MB / 1.458 GB, free: 408 kB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001202/1.43, allocations: 15.31 kB / 1.458 GB, free: 400 kB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.832e-05/1.431, allocations: 17.38 kB / 1.458 GB, free: 388 kB / 1.139 GB Notification: Performance of SimCode: time 5.91e-07/1.431, allocations: 0 / 1.458 GB, free: 388 kB / 1.139 GB Notification: Performance of Templates: time 0.005305/1.436, allocations: 1.608 MB / 1.46 GB, free: 260 kB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.152523859404027]