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.001811/0.001811, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001994/0.001994, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 461.9 MB / 0.7355 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 59.91 kB / 1.055 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8374/0.8389, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003148/0.8421, allocations: 1.5 MB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003622/0.8425, allocations: 155.5 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.823e-05/0.8426, allocations: 0 / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.516e-05/0.8427, allocations: 0 / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.8428, allocations: 7.875 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001196/0.8429, allocations: 11.98 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.8431, allocations: 51.78 kB / 1.21 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001671/0.8432, allocations: 8 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.8434, allocations: 19.98 kB / 1.21 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.335e-05/0.8434, allocations: 27.89 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.8435, allocations: 4 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.8435, allocations: 7.938 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.8435, allocations: 4 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.717e-05/0.8436, allocations: 19.92 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001464/0.8437, allocations: 43.48 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8437, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.687e-06/0.8438, allocations: 0 / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.8438, allocations: 4 kB / 1.21 GB, free: 11.71 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.0007798/0.8446, allocations: 361.4 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.8446, allocations: 8.031 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.595e-05/0.8447, allocations: 8.844 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.8449, allocations: 168.3 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.8449, allocations: 4.359 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.845, allocations: 8.375 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.8453, allocations: 66.22 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.8453, allocations: 4.125 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.8453, allocations: 11.92 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.8453, allocations: 8 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.8456, allocations: 55.94 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005277/0.8462, allocations: 276.8 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.8464, allocations: 62.47 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.8466, allocations: 32.92 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.8466, allocations: 4 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.8467, allocations: 34.56 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.8467, allocations: 0 / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0005899/0.8473, allocations: 133.5 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.8473, allocations: 55.41 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.8475, allocations: 105.8 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.8475, allocations: 25.7 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.8475, allocations: 92.05 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.8476, allocations: 7.891 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.8476, allocations: 17.72 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8478, allocations: 310.8 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.848, allocations: 39.95 kB / 1.212 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.8481, allocations: 27.97 kB / 1.212 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.8484, allocations: 68.78 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.8484, allocations: 7.875 kB / 1.212 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003466/0.8488, allocations: 101.6 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.8488, allocations: 4 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8488, allocations: 0 / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.8488, allocations: 0 / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.849, allocations: 19.97 kB / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.849, allocations: 0 / 1.212 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.8491, allocations: 19.98 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.8492, allocations: 0 / 1.212 GB, free: 9.383 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 0.0001178/0.8493, allocations: 109.8 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.8493, allocations: 7.906 kB / 1.212 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.231e-05/0.8494, allocations: 7.906 kB / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8494, allocations: 0 / 1.212 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.8494, allocations: 4 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.8494, allocations: 336 / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.8496, allocations: 177.5 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.8496, allocations: 0 / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.8497, allocations: 15.98 kB / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.8497, allocations: 0 / 1.213 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.8498, allocations: 3.984 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.8498, allocations: 4 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.8498, allocations: 7.875 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.8502, allocations: 199.4 kB / 1.213 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.8503, allocations: 81.02 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.8503, allocations: 0 / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.8504, allocations: 15.98 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.8505, allocations: 7.984 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.8505, allocations: 0 / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.459e-05/0.8506, allocations: 87.58 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.9e-07/0.8506, allocations: 0 / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002278/0.8508, allocations: 12 kB / 1.213 GB, free: 8.551 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.0001949/0.851, allocations: 103.2 kB / 1.213 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004217/0.8514, allocations: 71.86 kB / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.8515, allocations: 0 / 1.213 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.8517, allocations: 39.97 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.8521, allocations: 15.86 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005603/0.8527, allocations: 156.2 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.8531, allocations: 0.6807 MB / 1.214 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.8532, allocations: 11.44 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of SimCode: time 6.01e-07/0.8532, allocations: 4 kB / 1.214 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of Templates: time 0.002961/0.8562, allocations: 0.7637 MB / 1.215 GB, free: 6.656 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