Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006004/0.006004, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.559/1.559, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.028/3.028, allocations: 470.6 MB / 0.7442 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004023, allocations: 11.44 kB / 0.9123 GB, free: 34.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4943/0.4947, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.004081/0.4989, allocations: 2.632 MB / 1.072 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1999/0.6988, allocations: 150.8 MB / 1.22 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004765/0.6993, allocations: 8 kB / 1.22 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.701, allocations: 0.5289 MB / 1.22 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.7029, allocations: 0.6145 MB / 1.221 GB, free: 240 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.7048, allocations: 0.5628 MB / 1.221 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001593/0.7064, allocations: 1.279 MB / 1.223 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004028/0.7068, allocations: 186.5 kB / 1.223 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007988/0.7076, allocations: 434.1 kB / 1.223 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.7087, allocations: 0.5836 MB / 1.224 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.7088, allocations: 60 kB / 1.224 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002754/0.7116, allocations: 1.247 MB / 1.225 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004021/0.712, allocations: 354.8 kB / 1.225 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009277/0.713, allocations: 0.6582 MB / 1.226 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00416/0.7171, allocations: 2.733 MB / 1.229 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.7172, allocations: 0 / 1.229 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.348e-06/0.7172, allocations: 0 / 1.229 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.287e-05/0.7172, allocations: 3.938 kB / 1.229 GB, free: 8.109 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.003853/0.7211, allocations: 1.883 MB / 1.231 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.7211, allocations: 12.03 kB / 1.231 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/0.7382, allocations: 2.191 MB / 1.233 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003371/0.7416, allocations: 1.448 MB / 1.234 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.7416, allocations: 16 kB / 1.234 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.7418, allocations: 20 kB / 1.234 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005928/0.7477, allocations: 1.225 MB / 1.235 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.7477, allocations: 0 / 1.235 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.723e-05/0.7478, allocations: 7.938 kB / 1.235 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.7478, allocations: 4 kB / 1.235 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.7586, allocations: 2.064 MB / 1.237 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.7706, allocations: 3.692 MB / 1.241 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.7814, allocations: 2.165 MB / 1.243 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005169/0.7866, allocations: 1.039 MB / 1.244 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008299/0.7875, allocations: 0.522 MB / 1.245 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005521/0.793, allocations: 1.175 MB / 1.246 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 3.085e-06/0.7931, allocations: 0 / 1.246 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.01715/0.8102, allocations: 3.313 MB / 1.249 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.979e-05/0.8103, allocations: 110.8 kB / 1.249 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00452/0.8149, allocations: 2.48 MB / 1.252 GB, free: 268 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.8151, allocations: 37.64 kB / 1.252 GB, free: 224 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.6006/1.416, allocations: 0.5854 MB / 1.252 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/1.416, allocations: 64.36 kB / 1.252 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/1.416, allocations: 51.52 kB / 1.252 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.906e-05/1.416, allocations: 328 kB / 1.253 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006084/1.422, allocations: 1.18 MB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005731/1.428, allocations: 1.219 MB / 1.255 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0102/1.438, allocations: 2.048 MB / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/1.438, allocations: 0 / 1.257 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01359/1.452, allocations: 2.93 MB / 1.26 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/1.452, allocations: 137.9 kB / 1.26 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/1.452, allocations: 0 / 1.26 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004033/1.456, allocations: 0.8125 MB / 1.261 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003308/1.46, allocations: 0.49 MB / 1.261 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009533/1.469, allocations: 7.427 MB / 1.268 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003909/1.473, allocations: 476.6 kB / 1.269 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/1.473, allocations: 32.72 kB / 1.269 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/1.473, allocations: 5.344 kB / 1.269 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01284/1.486, allocations: 2.611 MB / 1.271 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.486, allocations: 0.5625 kB / 1.271 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/1.489, allocations: 0.629 MB / 1.272 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003433/1.492, allocations: 0.4895 MB / 1.273 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006037/1.498, allocations: 6.184 MB / 1.279 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003818/1.502, allocations: 451.8 kB / 1.279 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/1.502, allocations: 33.2 kB / 1.279 GB, free: 172.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,appDryPt.stage,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001398/1.504, allocations: 0.6858 MB / 1.28 GB, free: 172.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005969/1.504, allocations: 142.4 kB / 1.28 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/1.516, allocations: 2.337 MB / 1.282 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.516, allocations: 2.672 kB / 1.282 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/1.516, allocations: 1.375 kB / 1.282 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/1.516, allocations: 0 / 1.282 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/1.518, allocations: 1.26 MB / 1.283 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.518, allocations: 4 kB / 1.283 GB, free: 171 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002811/1.521, allocations: 452.4 kB / 1.284 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/1.521, allocations: 1.188 kB / 1.284 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.62e-05/1.521, allocations: 19.42 kB / 1.284 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/1.521, allocations: 1.25 kB / 1.284 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.521, allocations: 4 kB / 1.284 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/1.532, allocations: 2.259 MB / 1.286 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/1.533, allocations: 427.3 kB / 1.286 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006278/1.534, allocations: 14.8 kB / 1.286 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003412/1.537, allocations: 398 kB / 1.287 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.537, allocations: 28.5 kB / 1.287 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.079e-05/1.537, allocations: 23.08 kB / 1.287 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004298/1.542, allocations: 1.772 MB / 1.289 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.542, allocations: 0 / 1.289 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003462/1.545, allocations: 0.5409 MB / 1.289 GB, free: 168.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0008745/1.546, allocations: 245.7 kB / 1.289 GB, free: 168.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0189/1.565, allocations: 4.991 MB / 1.294 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.565, allocations: 0 / 1.294 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005185/1.57, allocations: 1.15 MB / 1.295 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/1.573, allocations: 354.1 kB / 1.296 GB, free: 164.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/1.595, allocations: 5.14 MB / 1.301 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/1.596, allocations: 1.423 MB / 1.302 GB, free: 161 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002007/1.598, allocations: 440.6 kB / 1.303 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006321/1.599, allocations: 85 kB / 1.303 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of SimCode: time 8.01e-07/1.599, allocations: 0 / 1.303 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.03966/1.639, allocations: 27.6 MB / 1.33 GB, free: 133.9 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches