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.00177/0.00177, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.588/1.588, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.847/2.847, allocations: 437 MB / 0.7104 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.91 kB / 0.8692 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8233/0.8253, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.006441/0.8318, allocations: 3.004 MB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2324/1.064, allocations: 153.4 MB / 1.17 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005693/1.065, allocations: 7.938 kB / 1.17 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004697/1.065, allocations: 99.12 kB / 1.17 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/1.066, allocations: 278.1 kB / 1.17 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003048/1.07, allocations: 0.9991 MB / 1.171 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001118/1.071, allocations: 0.7798 MB / 1.172 GB, free: 3.281 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/1.071, allocations: 94.02 kB / 1.172 GB, free: 3.188 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004062/1.071, allocations: 319 kB / 1.173 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005625/1.072, allocations: 338.8 kB / 1.173 GB, free: 2.543 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/1.072, allocations: 60 kB / 1.173 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/1.074, allocations: 0.7875 MB / 1.174 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001717/1.074, allocations: 155.6 kB / 1.174 GB, free: 1.543 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003328/1.074, allocations: 294.6 kB / 1.174 GB, free: 1.254 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/1.076, allocations: 0.9544 MB / 1.175 GB, free: 304 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.076, allocations: 0 / 1.175 GB, free: 304 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.363e-06/1.076, allocations: 0 / 1.175 GB, free: 304 kB / 0.92 GB Notification: Performance of Transformations before backend: time 8.857e-06/1.076, allocations: 0 / 1.175 GB, free: 304 kB / 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.002841/1.079, allocations: 1.055 MB / 1.176 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/1.079, allocations: 15.98 kB / 1.176 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/1.081, allocations: 271.8 kB / 1.176 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006628/1.082, allocations: 396.8 kB / 1.177 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/1.082, allocations: 95.83 kB / 1.177 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/1.082, allocations: 32 kB / 1.177 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008869/1.083, allocations: 376.2 kB / 1.177 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/1.083, allocations: 0 / 1.177 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/1.083, allocations: 11.98 kB / 1.177 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/1.083, allocations: 7.938 kB / 1.177 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007893/1.084, allocations: 261.4 kB / 1.178 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004721/1.089, allocations: 1.689 MB / 1.179 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008259/1.09, allocations: 250.5 kB / 1.179 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/1.09, allocations: 160.8 kB / 1.18 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/1.09, allocations: 8 kB / 1.18 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008441/1.091, allocations: 293.3 kB / 1.18 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.893e-06/1.091, allocations: 0 / 1.18 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.008714/1.1, allocations: 1.509 MB / 1.181 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/1.1, allocations: 81.11 kB / 1.181 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000675/1.1, allocations: 453.7 kB / 1.182 GB, free: 9.082 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/1.101, allocations: 45.7 kB / 1.182 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002097/1.101, allocations: 196.9 kB / 1.182 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/1.101, allocations: 102.6 kB / 1.182 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/1.101, allocations: 158.2 kB / 1.182 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001977/1.102, allocations: 354.8 kB / 1.183 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008197/1.102, allocations: 273.2 kB / 1.183 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/1.103, allocations: 421.8 kB / 1.183 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008193/1.112, allocations: 1.86 MB / 1.185 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.112, allocations: 0 / 1.185 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007982/1.12, allocations: 1.564 MB / 1.187 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001146/1.12, allocations: 67.39 kB / 1.187 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/1.12, allocations: 7.984 kB / 1.187 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00188/1.122, allocations: 395.1 kB / 1.187 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/1.122, allocations: 99.73 kB / 1.187 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007276/1.13, allocations: 4.676 MB / 1.192 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/1.131, allocations: 103.2 kB / 1.192 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/1.131, allocations: 35.95 kB / 1.192 GB, free: 14.27 MB / 0.9512 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.000398/1.131, allocations: 177.9 kB / 1.192 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/1.131, allocations: 43.44 kB / 1.192 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.012e-05/1.132, allocations: 39.58 kB / 1.192 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.132, allocations: 4 kB / 1.192 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/1.132, allocations: 7.938 kB / 1.192 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/1.132, allocations: 0 / 1.192 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000628/1.132, allocations: 477.1 kB / 1.193 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.132, allocations: 0 / 1.193 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/1.132, allocations: 31.92 kB / 1.193 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006473/1.133, allocations: 225.5 kB / 1.193 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.524e-05/1.133, allocations: 7.984 kB / 1.193 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/1.135, allocations: 1.496 MB / 1.194 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.135, allocations: 4 kB / 1.194 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006555/1.142, allocations: 1.301 MB / 1.196 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002771/1.142, allocations: 164.4 kB / 1.196 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.712e-05/1.142, allocations: 8 kB / 1.196 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/1.143, allocations: 35.95 kB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/1.143, allocations: 39.95 kB / 1.196 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/1.143, allocations: 19.97 kB / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004504/1.143, allocations: 299.1 kB / 1.196 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.01e-07/1.143, allocations: 0 / 1.196 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007332/1.144, allocations: 163.9 kB / 1.196 GB, free: 9.598 MB / 0.9512 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.0003799/1.144, allocations: 172.5 kB / 1.196 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003486/1.148, allocations: 1.049 MB / 1.197 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.148, allocations: 7.938 kB / 1.197 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/1.15, allocations: 325.5 kB / 1.198 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007221/1.15, allocations: 109.8 kB / 1.198 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/1.152, allocations: 0.9007 MB / 1.199 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/1.153, allocations: 0.8112 MB / 1.2 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004154/1.153, allocations: 59.27 kB / 1.2 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/1.153, allocations: 39.42 kB / 1.2 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of SimCode: time 6.11e-07/1.153, allocations: 0 / 1.2 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of Templates: time 0.02335/1.177, allocations: 12.25 MB / 1.212 GB, free: 9.859 MB / 0.9669 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=400 -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