Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 92 kB / 15.06 MB, free: 1.098 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.001584/0.001584, allocations: 172.7 kB / 15.95 MB, free: 208 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.507/1.507, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.865/2.865, allocations: 437.7 MB / 0.7117 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005988/0.0005988, allocations: 8 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.013, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.00447/1.017, allocations: 2.57 MB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1766/1.194, allocations: 139.4 MB / 1.161 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004076/1.195, allocations: 7.938 kB / 1.161 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0003312/1.195, allocations: 67.52 kB / 1.161 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0007689/1.196, allocations: 238.5 kB / 1.161 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/1.198, allocations: 0.791 MB / 1.162 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0008665/1.199, allocations: 0.6744 MB / 1.163 GB, free: 15.9 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/1.199, allocations: 81.64 kB / 1.163 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003486/1.199, allocations: 271.1 kB / 1.163 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/1.2, allocations: 306.9 kB / 1.163 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.082e-05/1.2, allocations: 36 kB / 1.163 GB, free: 15.22 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001361/1.201, allocations: 0.5576 MB / 1.164 GB, free: 14.66 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/1.202, allocations: 123.6 kB / 1.164 GB, free: 14.54 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001123/1.202, allocations: 105.5 kB / 1.164 GB, free: 14.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007884/1.202, allocations: 0.67 MB / 1.165 GB, free: 13.76 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.202, allocations: 4 kB / 1.165 GB, free: 13.75 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.583e-06/1.202, allocations: 0 / 1.165 GB, free: 13.75 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.244e-06/1.202, allocations: 0 / 1.165 GB, free: 13.75 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002352/1.205, allocations: 0.9735 MB / 1.166 GB, free: 12.72 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.205, allocations: 12.52 kB / 1.166 GB, free: 12.71 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/1.207, allocations: 271.1 kB / 1.166 GB, free: 12.44 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006196/1.208, allocations: 389.1 kB / 1.166 GB, free: 12.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/1.208, allocations: 95.83 kB / 1.167 GB, free: 11.91 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.945e-05/1.208, allocations: 43.91 kB / 1.167 GB, free: 11.87 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007922/1.209, allocations: 376.2 kB / 1.167 GB, free: 11.48 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/1.209, allocations: 4 kB / 1.167 GB, free: 11.48 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/1.209, allocations: 15.94 kB / 1.167 GB, free: 11.46 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/1.209, allocations: 12 kB / 1.167 GB, free: 11.45 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/1.21, allocations: 273.5 kB / 1.167 GB, free: 11.18 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004093/1.214, allocations: 1.7 MB / 1.169 GB, free: 9.414 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007355/1.215, allocations: 270.7 kB / 1.169 GB, free: 9.141 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004484/1.215, allocations: 176.8 kB / 1.169 GB, free: 8.965 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/1.215, allocations: 3.984 kB / 1.169 GB, free: 8.961 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007241/1.216, allocations: 312.7 kB / 1.17 GB, free: 8.637 MB / 0.92 GB Notification: Performance of pre-optimization done (n=30): time 1.913e-06/1.216, allocations: 0 / 1.17 GB, free: 8.637 MB / 0.92 GB Notification: Performance of matching and sorting (n=30): time 0.00769/1.223, allocations: 1.565 MB / 1.171 GB, free: 7.023 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/1.224, allocations: 81.11 kB / 1.171 GB, free: 6.926 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00062/1.224, allocations: 457.6 kB / 1.172 GB, free: 6.477 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000169/1.224, allocations: 41.7 kB / 1.172 GB, free: 6.43 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/1.225, allocations: 200.9 kB / 1.172 GB, free: 6.227 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.784e-05/1.225, allocations: 94.73 kB / 1.172 GB, free: 6.133 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/1.225, allocations: 12 kB / 1.172 GB, free: 6.121 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.225, allocations: 354.8 kB / 1.172 GB, free: 5.766 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007314/1.226, allocations: 289.1 kB / 1.173 GB, free: 5.484 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000868/1.227, allocations: 433.8 kB / 1.173 GB, free: 5.035 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008202/1.227, allocations: 354.1 kB / 1.173 GB, free: 4.68 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.227, allocations: 0 / 1.173 GB, free: 4.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006885/1.234, allocations: 1.619 MB / 1.175 GB, free: 3.027 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.66e-05/1.234, allocations: 63.41 kB / 1.175 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/1.234, allocations: 7.984 kB / 1.175 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/1.236, allocations: 395.2 kB / 1.175 GB, free: 2.547 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/1.237, allocations: 103.8 kB / 1.176 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006047/1.243, allocations: 4.479 MB / 1.18 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.244, allocations: 103.2 kB / 1.18 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/1.244, allocations: 43.95 kB / 1.18 GB, free: 13.5 MB / 0.9356 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean evaSho.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition4,$whenCondition2,$PRE.evaNor.off,evaNor.off,$PRE.pulNor.T_start,pulNor.T_start,$PRE.pulNor.count,pulNor.count,$whenCondition3,$whenCondition1,$PRE.pulSho.T_start,pulSho.T_start,$PRE.pulSho.count,pulSho.count,$PRE.evaSho.off,evaSho.off,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004144/1.244, allocations: 172.1 kB / 1.18 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/1.245, allocations: 47.44 kB / 1.18 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.929e-05/1.245, allocations: 39.58 kB / 1.18 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.245, allocations: 4 kB / 1.18 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/1.245, allocations: 0 / 1.18 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.245, allocations: 192 / 1.18 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006884/1.245, allocations: 489.1 kB / 1.181 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.245, allocations: 0 / 1.181 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/1.246, allocations: 27.98 kB / 1.181 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006249/1.246, allocations: 237.5 kB / 1.181 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.462e-05/1.246, allocations: 15.98 kB / 1.181 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00181/1.248, allocations: 1.504 MB / 1.182 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.248, allocations: 0 / 1.182 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005749/1.254, allocations: 1.344 MB / 1.184 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/1.254, allocations: 164.4 kB / 1.184 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/1.254, allocations: 8 kB / 1.184 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004609/1.255, allocations: 47.95 kB / 1.184 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/1.255, allocations: 47.88 kB / 1.184 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.705e-05/1.255, allocations: 15.98 kB / 1.184 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000418/1.255, allocations: 299.1 kB / 1.184 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/1.255, allocations: 0 / 1.184 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000709/1.256, allocations: 155.8 kB / 1.184 GB, free: 8.758 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000351/1.257, allocations: 175.2 kB / 1.185 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003101/1.26, allocations: 1.065 MB / 1.186 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.26, allocations: 0 / 1.186 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/1.261, allocations: 341.3 kB / 1.186 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/1.262, allocations: 105.8 kB / 1.186 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/1.264, allocations: 1.033 MB / 1.187 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/1.264, allocations: 0.8113 MB / 1.188 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003486/1.264, allocations: 51.39 kB / 1.188 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/1.264, allocations: 39.41 kB / 1.188 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of SimCode: time 9.32e-07/1.264, allocations: 0 / 1.188 GB, free: 5.043 MB / 0.9356 GB Notification: Performance of Templates: time 0.02134/1.286, allocations: 11.11 MB / 1.199 GB, free: 10.03 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches