Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_latest_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_latest_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.001064/0.001064, allocations: 97.78 kB / 16.02 MB, free: 76 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.001407/0.001407, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.516/1.516, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.897/2.897, allocations: 462.6 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003549, allocations: 11.53 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3398, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.003837/0.3437, allocations: 2.637 MB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1694/0.5131, allocations: 150.8 MB / 1.209 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005417/0.5137, allocations: 4 kB / 1.209 GB, free: 11 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.5155, allocations: 0.5367 MB / 1.21 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00186/0.5174, allocations: 0.6106 MB / 1.21 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.5192, allocations: 0.5559 MB / 1.211 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001518/0.5207, allocations: 1.29 MB / 1.212 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003328/0.5211, allocations: 182.5 kB / 1.212 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007633/0.5219, allocations: 434.1 kB / 1.213 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.5231, allocations: 0.5836 MB / 1.213 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002823/0.5234, allocations: 60 kB / 1.213 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.5259, allocations: 1.247 MB / 1.215 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004551/0.5264, allocations: 350.7 kB / 1.215 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0009606/0.5273, allocations: 0.666 MB / 1.215 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002525/0.5299, allocations: 2.237 MB / 1.218 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.5299, allocations: 0 / 1.218 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5299, allocations: 0 / 1.218 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.34e-05/0.53, allocations: 0 / 1.218 GB, free: 2.227 MB / 0.9669 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.0039/0.5339, allocations: 1.883 MB / 1.22 GB, free: 288 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5339, allocations: 11.97 kB / 1.22 GB, free: 276 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/0.5513, allocations: 2.195 MB / 1.222 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003077/0.5544, allocations: 1.444 MB / 1.223 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.5545, allocations: 19.94 kB / 1.223 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.5546, allocations: 24 kB / 1.223 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005811/0.5605, allocations: 1.214 MB / 1.224 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5605, allocations: 0 / 1.224 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.33e-05/0.5606, allocations: 12 kB / 1.224 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.5606, allocations: 4 kB / 1.224 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.5712, allocations: 2.061 MB / 1.226 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01149/0.5827, allocations: 3.681 MB / 1.23 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.5941, allocations: 2.172 MB / 1.232 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005413/0.5995, allocations: 1.047 MB / 1.233 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007426/0.6003, allocations: 0.5259 MB / 1.234 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005639/0.6059, allocations: 1.17 MB / 1.235 GB, free: 332 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 2.625e-06/0.606, allocations: 0 / 1.235 GB, free: 332 kB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.01778/0.6238, allocations: 3.314 MB / 1.238 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.6239, allocations: 110.8 kB / 1.238 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005132/0.629, allocations: 2.48 MB / 1.24 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.6292, allocations: 33.7 kB / 1.241 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006772/0.6299, allocations: 0.59 MB / 1.241 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.6301, allocations: 63.02 kB / 1.241 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.6302, allocations: 49.69 kB / 1.241 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.6304, allocations: 330 kB / 1.242 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005596/0.636, allocations: 1.175 MB / 1.243 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005622/0.6416, allocations: 1.226 MB / 1.244 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.6522, allocations: 2.041 MB / 1.246 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.6522, allocations: 0 / 1.246 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01375/0.666, allocations: 2.932 MB / 1.249 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.6661, allocations: 132.7 kB / 1.249 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.6661, allocations: 4 kB / 1.249 GB, free: 1.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003822/0.67, allocations: 0.8147 MB / 1.25 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003428/0.6734, allocations: 495.4 kB / 1.25 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7474/1.421, allocations: 7.435 MB / 1.257 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003867/1.425, allocations: 459.9 kB / 1.258 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/1.425, allocations: 32.05 kB / 1.258 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/1.425, allocations: 4.594 kB / 1.258 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0113/1.436, allocations: 2.618 MB / 1.26 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.436, allocations: 0.5156 kB / 1.26 GB, free: 184.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002304/1.439, allocations: 0.6398 MB / 1.261 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003516/1.442, allocations: 498.1 kB / 1.262 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004935/1.447, allocations: 6.191 MB / 1.268 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003625/1.451, allocations: 455 kB / 1.268 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.1e-05/1.451, allocations: 30.08 kB / 1.268 GB, free: 179.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.001225/1.452, allocations: 0.6783 MB / 1.269 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/1.452, allocations: 152.5 kB / 1.269 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/1.463, allocations: 2.332 MB / 1.271 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/1.463, allocations: 2.438 kB / 1.271 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/1.463, allocations: 0 / 1.271 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.463, allocations: 9.656 kB / 1.271 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/1.466, allocations: 1.255 MB / 1.272 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.466, allocations: 1.656 kB / 1.272 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003281/1.469, allocations: 444.3 kB / 1.273 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-06/1.469, allocations: 5.266 kB / 1.273 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.443e-05/1.469, allocations: 18.47 kB / 1.273 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.596e-06/1.469, allocations: 1.281 kB / 1.273 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.469, allocations: 0.5 kB / 1.273 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/1.481, allocations: 2.262 MB / 1.275 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009776/1.482, allocations: 425 kB / 1.275 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/1.482, allocations: 9.422 kB / 1.275 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/1.485, allocations: 399.1 kB / 1.276 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/1.486, allocations: 22.86 kB / 1.276 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.486, allocations: 28.67 kB / 1.276 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004007/1.49, allocations: 1.769 MB / 1.278 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.71e-07/1.49, allocations: 0 / 1.278 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002063/1.492, allocations: 0.5527 MB / 1.278 GB, free: 178.2 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.0005816/1.492, allocations: 229.8 kB / 1.278 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01911/1.511, allocations: 4.986 MB / 1.283 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.511, allocations: 5.031 kB / 1.283 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00541/1.517, allocations: 1.147 MB / 1.284 GB, free: 176.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/1.519, allocations: 356.9 kB / 1.285 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02287/1.542, allocations: 5.214 MB / 1.29 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/1.543, allocations: 1.414 MB / 1.291 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/1.545, allocations: 96.08 kB / 1.291 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of SimCode: time 2.024e-06/1.545, allocations: 1.281 kB / 1.291 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.05328/1.598, allocations: 39.65 MB / 1.33 GB, free: 138.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches