Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Condensation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mWat.mWat_flow|Q_flow.y|shr.y",fileNamePrefix="Buildings_11_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_11_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.001544/0.001545, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001489/0.001489, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.399/1.399, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.615/2.615, allocations: 469.8 MB / 0.7427 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001884, allocations: 72.11 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3376, allocations: 159.1 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation): time 0.003058/0.3407, allocations: 1.565 MB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002843/0.341, allocations: 155.5 kB / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.3411, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.3411, allocations: 0 / 1.066 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-05/0.3412, allocations: 11.88 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.868e-05/0.3413, allocations: 11.98 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.775e-05/0.3414, allocations: 43.91 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.3415, allocations: 11.98 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.3416, allocations: 23.86 kB / 1.066 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/0.3417, allocations: 19.92 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3417, allocations: 4 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.3417, allocations: 4 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.3417, allocations: 7.984 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.3418, allocations: 19.88 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.452e-05/0.3419, allocations: 28.23 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3419, allocations: 3.938 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.994e-06/0.3419, allocations: 0 / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3419, allocations: 0 / 1.066 GB, free: 13.14 MB / 0.8419 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.0007136/0.3426, allocations: 367.4 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3427, allocations: 8.625 kB / 1.066 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.3427, allocations: 8.844 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.3429, allocations: 172.3 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3429, allocations: 384 / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.3429, allocations: 4.375 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.3432, allocations: 66.22 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3432, allocations: 8.172 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3432, allocations: 7.875 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.3432, allocations: 0 / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.3435, allocations: 59.94 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.344, allocations: 272.9 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.3442, allocations: 54.47 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.3443, allocations: 40.92 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.3444, allocations: 3.938 kB / 1.067 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.3444, allocations: 46.55 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3444, allocations: 0 / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.000527/0.345, allocations: 121.6 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.345, allocations: 55.34 kB / 1.067 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.3451, allocations: 109.8 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.3452, allocations: 29.7 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.267e-05/0.3452, allocations: 88.14 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.3453, allocations: 15.73 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.3453, allocations: 17.72 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002359/0.3456, allocations: 310.8 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.3457, allocations: 35.95 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.3458, allocations: 35.91 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.3461, allocations: 68.78 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3461, allocations: 3.938 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003161/0.3464, allocations: 101.6 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3465, allocations: 4 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3465, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3465, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.3466, allocations: 19.97 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3466, allocations: 0 / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.833e-05/0.3467, allocations: 12.31 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.3467, allocations: 0 / 1.068 GB, free: 10.81 MB / 0.8419 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.0001042/0.3469, allocations: 117.7 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.3469, allocations: 11.91 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.3469, allocations: 11.83 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.3469, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3469, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3469, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.3472, allocations: 173.6 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3472, allocations: 0 / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.202e-05/0.3473, allocations: 15.98 kB / 1.068 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3473, allocations: 4 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3473, allocations: 0 / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3473, allocations: 0 / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3473, allocations: 4 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.3477, allocations: 195.4 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.3478, allocations: 85.02 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.3478, allocations: 3.938 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.3479, allocations: 11.98 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.348, allocations: 11.92 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.348, allocations: 4 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.053e-05/0.348, allocations: 79.28 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.348, allocations: 0 / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002095/0.3483, allocations: 12 kB / 1.069 GB, free: 9.988 MB / 0.8419 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.0001534/0.3484, allocations: 107.2 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003409/0.3488, allocations: 63.92 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3488, allocations: 0 / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.3489, allocations: 39.91 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.3493, allocations: 23.92 kB / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.3497, allocations: 160.4 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.3501, allocations: 0.6885 MB / 1.07 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.3502, allocations: 11.44 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.3502, allocations: 4 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of Templates: time 0.002541/0.3527, allocations: 0.7486 MB / 1.071 GB, free: 8.094 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_Condensation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.Condensation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches