Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.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.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001335/0.001335, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.96/2.96, allocations: 462.6 MB / 0.736 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004176/0.0004176, allocations: 9.281 kB / 0.9021 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4244, allocations: 159.6 MB / 1.058 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002035/0.4264, allocations: 1.214 MB / 1.059 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002947/0.4268, allocations: 143.6 kB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.4268, allocations: 0 / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.4269, allocations: 3.984 kB / 1.059 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.434e-05/0.427, allocations: 11.92 kB / 1.059 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001153/0.4271, allocations: 15.92 kB / 1.059 GB, free: 3.859 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.4272, allocations: 39.86 kB / 1.059 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.4274, allocations: 11.98 kB / 1.059 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.955e-05/0.4275, allocations: 4 kB / 1.059 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.594e-05/0.4276, allocations: 23.91 kB / 1.059 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.4276, allocations: 0 / 1.059 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.4276, allocations: 7.938 kB / 1.059 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.4277, allocations: 11.94 kB / 1.059 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.4277, allocations: 29.7 kB / 1.06 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.106e-05/0.4278, allocations: 20.23 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4278, allocations: 0 / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.146e-06/0.4278, allocations: 0 / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4279, allocations: 0 / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007621/0.4286, allocations: 383.1 kB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 7.667e-05/0.4287, allocations: 8.031 kB / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.4288, allocations: 0 / 1.06 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.429, allocations: 182.8 kB / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.429, allocations: 0 / 1.06 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.429, allocations: 4 kB / 1.06 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.4294, allocations: 81.64 kB / 1.06 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.4294, allocations: 4 kB / 1.06 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.747e-05/0.4294, allocations: 3.984 kB / 1.06 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.4294, allocations: 0 / 1.06 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.4297, allocations: 83.92 kB / 1.06 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.4303, allocations: 276.8 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.4306, allocations: 66.53 kB / 1.061 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.4307, allocations: 52.91 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.4308, allocations: 0 / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.4308, allocations: 34.56 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.4308, allocations: 0 / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005883/0.4314, allocations: 161.5 kB / 1.061 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.4315, allocations: 51.41 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.4316, allocations: 113.8 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.4316, allocations: 29.7 kB / 1.061 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.4317, allocations: 88.03 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.4317, allocations: 11.84 kB / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.4317, allocations: 0 / 1.061 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4319, allocations: 322.8 kB / 1.061 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.432, allocations: 43.95 kB / 1.061 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.4321, allocations: 39.97 kB / 1.061 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.4323, allocations: 43.95 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4323, allocations: 0 / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003291/0.4327, allocations: 121.6 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.4327, allocations: 13.66 kB / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.4327, allocations: 0 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.4327, allocations: 0 / 1.062 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.4329, allocations: 19.98 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.4329, allocations: 0 / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.151e-05/0.433, allocations: 23.83 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.433, allocations: 8 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.774e-05/0.4331, allocations: 113.8 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.4331, allocations: 4 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.4332, allocations: 11.84 kB / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4332, allocations: 0 / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.4332, allocations: 0 / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4332, allocations: 0 / 1.062 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.4334, allocations: 169.6 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4334, allocations: 0 / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.4335, allocations: 31.97 kB / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.4336, allocations: 0 / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.4336, allocations: 0 / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.4336, allocations: 0 / 1.062 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4336, allocations: 4 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/0.434, allocations: 223.6 kB / 1.062 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.4341, allocations: 81.09 kB / 1.062 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.4341, allocations: 4.047 kB / 1.062 GB, free: 0.5391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.4342, allocations: 19.97 kB / 1.062 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.4343, allocations: 0 / 1.062 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.4343, allocations: 4 kB / 1.062 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.644e-05/0.4344, allocations: 87.27 kB / 1.062 GB, free: 440 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4344, allocations: 0 / 1.062 GB, free: 440 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002222/0.4346, allocations: 8 kB / 1.062 GB, free: 432 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001912/0.4348, allocations: 107.2 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003647/0.4352, allocations: 87.92 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.4352, allocations: 0 / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.4353, allocations: 51.89 kB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.4357, allocations: 11.95 kB / 1.063 GB, free: 164 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.4362, allocations: 156.5 kB / 1.063 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.4365, allocations: 0.6809 MB / 1.063 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.454e-05/0.4366, allocations: 7.984 kB / 1.063 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.4366, allocations: 7.438 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of SimCode: time 7.02e-07/0.4366, allocations: 0 / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of Templates: time 0.003658/0.4403, allocations: 0.6337 MB / 1.064 GB, free: 14.63 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches