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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001935/0.001935, allocations: 100.3 kB / 16.27 MB, free: 6.348 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.001951/0.001951, allocations: 189.8 kB / 17.2 MB, free: 5.949 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.494/1.494, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437 MB / 0.711 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 71.73 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004938/0.3413, allocations: 3.001 MB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7924/1.134, allocations: 153.4 MB / 1.171 GB, free: 164 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003816/1.134, allocations: 10.12 kB / 1.171 GB, free: 156 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0003884/1.135, allocations: 90.19 kB / 1.171 GB, free: 100 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0009495/1.136, allocations: 280.3 kB / 1.171 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/1.138, allocations: 1.007 MB / 1.172 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008336/1.139, allocations: 0.7819 MB / 1.173 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/1.139, allocations: 94.95 kB / 1.173 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003713/1.139, allocations: 316.6 kB / 1.173 GB, free: 14.88 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004965/1.14, allocations: 334.8 kB / 1.174 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001449/1.14, allocations: 64.09 kB / 1.174 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/1.142, allocations: 0.7858 MB / 1.174 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/1.142, allocations: 152.4 kB / 1.175 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003463/1.143, allocations: 300 kB / 1.175 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/1.144, allocations: 0.9427 MB / 1.176 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.144, allocations: 0 / 1.176 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/1.144, allocations: 0 / 1.176 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.429e-05/1.144, allocations: 1.031 kB / 1.176 GB, free: 13.57 MB / 0.8887 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.003006/1.147, allocations: 1.061 MB / 1.177 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.147, allocations: 12.89 kB / 1.177 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/1.15, allocations: 265.3 kB / 1.177 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000728/1.15, allocations: 408.4 kB / 1.177 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/1.151, allocations: 88.16 kB / 1.177 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/1.151, allocations: 38.97 kB / 1.178 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008922/1.152, allocations: 382.6 kB / 1.178 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/1.152, allocations: 0 / 1.178 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.06e-05/1.152, allocations: 7.375 kB / 1.178 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/1.152, allocations: 5.906 kB / 1.178 GB, free: 11.9 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008083/1.152, allocations: 257.1 kB / 1.178 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004784/1.157, allocations: 1.687 MB / 1.18 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/1.158, allocations: 258.7 kB / 1.18 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/1.159, allocations: 160 kB / 1.18 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/1.159, allocations: 6.75 kB / 1.18 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007978/1.159, allocations: 302.5 kB / 1.18 GB, free: 10 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=30): time 2.124e-06/1.159, allocations: 0 / 1.18 GB, free: 10 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30): time 0.008724/1.168, allocations: 1.512 MB / 1.182 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/1.168, allocations: 80.83 kB / 1.182 GB, free: 9.051 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000708/1.169, allocations: 454.5 kB / 1.182 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001723/1.169, allocations: 47.14 kB / 1.183 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/1.169, allocations: 197 kB / 1.183 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/1.17, allocations: 102.5 kB / 1.183 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003103/1.17, allocations: 159.5 kB / 1.183 GB, free: 8.355 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.17, allocations: 356 kB / 1.183 GB, free: 8.008 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008416/1.171, allocations: 274.3 kB / 1.184 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.172, allocations: 423 kB / 1.184 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008029/1.18, allocations: 1.853 MB / 1.186 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/1.18, allocations: 5.344 kB / 1.186 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007867/1.188, allocations: 1.566 MB / 1.187 GB, free: 5.734 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 6.986e-05/1.188, allocations: 62.77 kB / 1.187 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/1.188, allocations: 2.469 kB / 1.187 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/1.19, allocations: 400.2 kB / 1.188 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005885/1.19, allocations: 91.05 kB / 1.188 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006247/1.197, allocations: 4.683 MB / 1.192 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/1.198, allocations: 101.5 kB / 1.193 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-05/1.198, allocations: 34.66 kB / 1.193 GB, free: 0.8359 MB / 0.8887 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 ($PRE.pulNor.count,$PRE.pulNor.T_start,$PRE.evaNor.off,pulNor.count,pulNor.T_start,evaNor.off,$whenCondition2,$whenCondition4,$PRE.evaSho.off,$PRE.pulSho.count,$PRE.pulSho.T_start,evaSho.off,pulSho.count,pulSho.T_start,$whenCondition1,$whenCondition3,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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000303/1.198, allocations: 178.8 kB / 1.193 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/1.198, allocations: 41.31 kB / 1.193 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.181e-05/1.199, allocations: 41.3 kB / 1.193 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.199, allocations: 2.75 kB / 1.193 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/1.199, allocations: 0 / 1.193 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.199, allocations: 14.14 kB / 1.193 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005567/1.199, allocations: 472.2 kB / 1.193 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.199, allocations: 2.562 kB / 1.193 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/1.199, allocations: 29.27 kB / 1.193 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006203/1.2, allocations: 222.6 kB / 1.194 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/1.2, allocations: 18.59 kB / 1.194 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/1.202, allocations: 1.487 MB / 1.195 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.202, allocations: 3.984 kB / 1.195 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006352/1.208, allocations: 1.295 MB / 1.196 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/1.209, allocations: 166 kB / 1.196 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-05/1.209, allocations: 6.438 kB / 1.196 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/1.209, allocations: 39.92 kB / 1.196 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/1.209, allocations: 41.8 kB / 1.196 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/1.209, allocations: 19.56 kB / 1.197 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003842/1.21, allocations: 293.8 kB / 1.197 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.51e-07/1.21, allocations: 0 / 1.197 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007494/1.21, allocations: 160.5 kB / 1.197 GB, free: 13.59 MB / 0.9044 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {7, 7} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003611/1.211, allocations: 183.2 kB / 1.197 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003368/1.214, allocations: 1.049 MB / 1.198 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.214, allocations: 0 / 1.198 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001555/1.216, allocations: 323.1 kB / 1.198 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007011/1.217, allocations: 116.9 kB / 1.199 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/1.218, allocations: 0.9328 MB / 1.199 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/1.219, allocations: 0.8023 MB / 1.2 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/1.219, allocations: 42.06 kB / 1.2 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of SimCode: time 6.01e-07/1.219, allocations: 0 / 1.2 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of Templates: time 0.02043/1.24, allocations: 12.2 MB / 1.212 GB, free: 1.805 MB / 0.9044 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/jenkins1/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