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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001205/0.001205, allocations: 108 kB / 16.41 MB, free: 6.496 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.001244/0.001244, allocations: 189.6 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.547/2.547, allocations: 461.9 MB / 0.7354 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.89 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9264/0.9278, allocations: 157.4 MB / 1.208 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.002996/0.9309, allocations: 1.519 MB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003181/0.9312, allocations: 147.5 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.472e-05/0.9313, allocations: 4 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.164e-05/0.9314, allocations: 3.938 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.9314, allocations: 11.88 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.5e-05/0.9315, allocations: 11.97 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.9316, allocations: 55.78 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.9318, allocations: 7.984 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.372e-05/0.9319, allocations: 15.98 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.988e-05/0.9319, allocations: 19.92 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.212e-05/0.9319, allocations: 4 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.932, allocations: 7.938 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.932, allocations: 7.984 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.848e-05/0.932, allocations: 19.94 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.9321, allocations: 51.47 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9322, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9322, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.9322, allocations: 0 / 1.21 GB, free: 11.8 MB / 0.9356 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.0005842/0.9328, allocations: 357.4 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.9328, allocations: 12.03 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.9329, allocations: 4.844 kB / 1.211 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.933, allocations: 176.3 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.933, allocations: 384 / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.933, allocations: 8.312 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.9333, allocations: 70.2 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.9333, allocations: 192 / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.9334, allocations: 3.938 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.9334, allocations: 0 / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.9337, allocations: 67.92 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.9341, allocations: 268.9 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.9343, allocations: 58.42 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.9345, allocations: 44.91 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.9345, allocations: 0 / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.9345, allocations: 30.56 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.9345, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005506/0.9351, allocations: 129.5 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.9352, allocations: 55.41 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.9352, allocations: 109.8 kB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.9353, allocations: 25.7 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.9353, allocations: 96.03 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.9354, allocations: 3.906 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.9354, allocations: 13.72 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.9355, allocations: 318.8 kB / 1.212 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.9357, allocations: 31.95 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.9358, allocations: 31.97 kB / 1.212 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/0.9361, allocations: 68.78 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9361, allocations: 7.875 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003148/0.9364, allocations: 101.9 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.9364, allocations: 8 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.9365, allocations: 0 / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.9365, allocations: 0 / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.9366, allocations: 23.97 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.9366, allocations: 4 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.893e-05/0.9367, allocations: 7.984 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.158e-06/0.9367, allocations: 4 kB / 1.212 GB, free: 9.48 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.633e-05/0.9368, allocations: 113.8 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.9368, allocations: 7.906 kB / 1.212 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.9369, allocations: 11.89 kB / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.9369, allocations: 0 / 1.212 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.9369, allocations: 4 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.9369, allocations: 0 / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.9371, allocations: 173.5 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.9371, allocations: 0 / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.922e-05/0.9372, allocations: 15.98 kB / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.9372, allocations: 0 / 1.213 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.9372, allocations: 3.938 kB / 1.213 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.9372, allocations: 3.984 kB / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9372, allocations: 0 / 1.213 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.9376, allocations: 199.4 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.142e-05/0.9377, allocations: 85.02 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.9377, allocations: 0 / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.9378, allocations: 11.98 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.9379, allocations: 3.984 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.9379, allocations: 4 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.616e-05/0.9379, allocations: 95.25 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9379, allocations: 0 / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002503/0.9382, allocations: 8 kB / 1.213 GB, free: 8.648 MB / 0.9356 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 (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.0001347/0.9383, allocations: 95.25 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003398/0.9387, allocations: 75.86 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.9387, allocations: 0 / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.9388, allocations: 35.97 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.9392, allocations: 15.86 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003997/0.9396, allocations: 172.2 kB / 1.213 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.9398, allocations: 0.6768 MB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/0.9399, allocations: 11.44 kB / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.9399, allocations: 0 / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of Templates: time 0.002206/0.9421, allocations: 0.7585 MB / 1.215 GB, free: 6.762 MB / 0.9356 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/jenkins1/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