Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001623/0.001623, allocations: 109.1 kB / 16.42 MB, free: 6.508 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.001843/0.001843, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.15 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.671/2.671, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 63.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172/1.174, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.007702/1.181, allocations: 2.972 MB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.2085/1.39, allocations: 154.7 MB / 1.321 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007268/1.391, allocations: 7.938 kB / 1.321 GB, free: 5.578 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002369/1.393, allocations: 0.5564 MB / 1.322 GB, free: 5.027 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002671/1.396, allocations: 0.692 MB / 1.322 GB, free: 4.332 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002139/1.398, allocations: 0.6647 MB / 1.323 GB, free: 3.668 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00195/1.4, allocations: 1.341 MB / 1.324 GB, free: 2.324 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/1.401, allocations: 194.5 kB / 1.325 GB, free: 2.121 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008208/1.401, allocations: 0.4904 MB / 1.325 GB, free: 1.629 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/1.403, allocations: 0.6381 MB / 1.326 GB, free: 0.9883 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003425/1.403, allocations: 96 kB / 1.326 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/1.406, allocations: 1.178 MB / 1.327 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005452/1.406, allocations: 398.7 kB / 1.327 GB, free: 15.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/1.408, allocations: 0.6878 MB / 1.328 GB, free: 14.63 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004322/1.412, allocations: 2.822 MB / 1.331 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.412, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.934e-06/1.412, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.557e-05/1.412, allocations: 0 / 1.331 GB, free: 11.8 MB / 1.061 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.005477/1.418, allocations: 2.13 MB / 1.333 GB, free: 9.605 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/1.418, allocations: 12.62 kB / 1.333 GB, free: 9.594 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0152/1.433, allocations: 1.782 MB / 1.335 GB, free: 7.809 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003259/1.436, allocations: 1.458 MB / 1.336 GB, free: 6.305 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/1.436, allocations: 16 kB / 1.336 GB, free: 6.289 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/1.436, allocations: 24 kB / 1.336 GB, free: 6.266 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005106/1.441, allocations: 1.022 MB / 1.337 GB, free: 5.23 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/1.441, allocations: 0 / 1.337 GB, free: 5.23 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.695e-05/1.442, allocations: 4 kB / 1.337 GB, free: 5.227 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/1.442, allocations: 4 kB / 1.337 GB, free: 5.223 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008838/1.45, allocations: 1.662 MB / 1.339 GB, free: 3.559 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01094/1.461, allocations: 3.493 MB / 1.342 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009234/1.471, allocations: 1.77 MB / 1.344 GB, free: 14.12 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004337/1.475, allocations: 0.8395 MB / 1.345 GB, free: 13.27 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007906/1.476, allocations: 0.5258 MB / 1.345 GB, free: 12.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004653/1.481, allocations: 0.975 MB / 1.346 GB, free: 11.65 MB / 1.076 GB Notification: Performance of pre-optimization done (n=23): time 4.648e-06/1.481, allocations: 0 / 1.346 GB, free: 11.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.01487/1.495, allocations: 2.714 MB / 1.349 GB, free: 8.918 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/1.496, allocations: 106.8 kB / 1.349 GB, free: 8.789 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005278/1.501, allocations: 2.48 MB / 1.351 GB, free: 6.305 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001986/1.501, allocations: 41.64 kB / 1.351 GB, free: 6.258 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007638/1.502, allocations: 0.5822 MB / 1.352 GB, free: 5.672 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/1.502, allocations: 79.3 kB / 1.352 GB, free: 5.594 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004115/1.502, allocations: 121.6 kB / 1.352 GB, free: 5.469 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001277/1.503, allocations: 329.9 kB / 1.352 GB, free: 5.141 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004784/1.507, allocations: 0.9805 MB / 1.353 GB, free: 4.156 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004702/1.512, allocations: 1.015 MB / 1.354 GB, free: 3.137 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00871/1.521, allocations: 1.669 MB / 1.356 GB, free: 1.449 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.521, allocations: 0 / 1.356 GB, free: 1.449 MB / 1.076 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01248/1.533, allocations: 2.538 MB / 1.358 GB, free: 14.89 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.014e-05/1.533, allocations: 41.69 kB / 1.359 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.533, allocations: 0 / 1.359 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003959/1.537, allocations: 0.7991 MB / 1.359 GB, free: 14.03 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/1.541, allocations: 403.3 kB / 1.36 GB, free: 13.63 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01054/1.551, allocations: 7.971 MB / 1.367 GB, free: 5.098 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/1.555, allocations: 363.1 kB / 1.368 GB, free: 4.742 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/1.555, allocations: 35.97 kB / 1.368 GB, free: 4.707 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005802/1.561, allocations: 1.487 MB / 1.369 GB, free: 3.211 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004871/1.566, allocations: 0.9952 MB / 1.37 GB, free: 2.207 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008731/1.574, allocations: 1.654 MB / 1.372 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/1.575, allocations: 0 / 1.372 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.01073/1.585, allocations: 2.354 MB / 1.374 GB, free: 14.16 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.924e-05/1.585, allocations: 41.69 kB / 1.374 GB, free: 14.11 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/1.585, allocations: 0 / 1.374 GB, free: 14.11 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002252/1.588, allocations: 0.6274 MB / 1.375 GB, free: 13.47 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003073/1.591, allocations: 403.3 kB / 1.375 GB, free: 13.07 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0071/1.598, allocations: 6.621 MB / 1.382 GB, free: 5.895 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003607/1.601, allocations: 359.3 kB / 1.382 GB, free: 5.543 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/1.602, allocations: 31.97 kB / 1.382 GB, free: 5.512 MB / 1.107 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.0004346/1.602, allocations: 236.5 kB / 1.382 GB, free: 5.27 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000665/1.603, allocations: 155 kB / 1.382 GB, free: 5.117 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009806/1.613, allocations: 1.944 MB / 1.384 GB, free: 3.156 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/1.613, allocations: 3.984 kB / 1.384 GB, free: 3.152 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.613, allocations: 0 / 1.384 GB, free: 3.152 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/1.614, allocations: 439.8 kB / 1.385 GB, free: 2.703 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006865/1.615, allocations: 11.98 kB / 1.385 GB, free: 2.691 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003021/1.618, allocations: 291.5 kB / 1.385 GB, free: 2.406 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/1.618, allocations: 23.97 kB / 1.385 GB, free: 2.383 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0107/1.629, allocations: 2.116 MB / 1.387 GB, free: 244 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009144/1.638, allocations: 2.012 MB / 1.389 GB, free: 14.2 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004225/1.642, allocations: 0.8699 MB / 1.39 GB, free: 13.33 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003754/1.646, allocations: 1.768 MB / 1.392 GB, free: 11.57 MB / 1.123 GB Notification: Performance of Backend: time 9.52e-07/1.646, allocations: 3.938 kB / 1.392 GB, free: 11.56 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01548/1.661, allocations: 3.909 MB / 1.395 GB, free: 7.516 MB / 1.123 GB Notification: Performance of SimCode: time 0.007149/1.668, allocations: 3.372 MB / 1.399 GB, free: 4.086 MB / 1.123 GB Notification: Performance of Templates: time 0.06583/1.734, allocations: 39.07 MB / 1.437 GB, free: 13.2 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches