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.001385/0.001385, 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.001518/0.001518, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.608/2.608, allocations: 437 MB / 0.7103 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002348/0.002348, allocations: 63.91 kB / 0.8692 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.029/1.032, allocations: 151.6 MB / 1.017 GB, free: 2.547 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005214/1.037, allocations: 2.99 MB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1852/1.222, allocations: 153.4 MB / 1.17 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000432/1.223, allocations: 0 / 1.17 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005073/1.223, allocations: 95.12 kB / 1.17 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001019/1.224, allocations: 282 kB / 1.17 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002449/1.227, allocations: 1.008 MB / 1.171 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007486/1.228, allocations: 0.7798 MB / 1.172 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/1.228, allocations: 89.98 kB / 1.172 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003446/1.228, allocations: 319 kB / 1.173 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/1.229, allocations: 338.8 kB / 1.173 GB, free: 2.641 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001029/1.229, allocations: 60 kB / 1.173 GB, free: 2.582 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001559/1.23, allocations: 0.7876 MB / 1.174 GB, free: 1.793 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/1.23, allocations: 151.5 kB / 1.174 GB, free: 1.645 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002962/1.231, allocations: 290.7 kB / 1.174 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/1.232, allocations: 0.9543 MB / 1.175 GB, free: 412 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/1.232, allocations: 4 kB / 1.175 GB, free: 408 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.493e-06/1.232, allocations: 0 / 1.175 GB, free: 408 kB / 0.92 GB Notification: Performance of Transformations before backend: time 9.578e-06/1.232, allocations: 0 / 1.175 GB, free: 408 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.002629/1.235, allocations: 1.051 MB / 1.176 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.235, allocations: 15.98 kB / 1.176 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/1.237, allocations: 267.8 kB / 1.176 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006706/1.238, allocations: 408.8 kB / 1.177 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.814e-05/1.238, allocations: 95.83 kB / 1.177 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-05/1.238, allocations: 39.98 kB / 1.177 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007878/1.239, allocations: 368.2 kB / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/1.239, allocations: 3.938 kB / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/1.239, allocations: 15.94 kB / 1.177 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/1.239, allocations: 4 kB / 1.177 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007243/1.24, allocations: 253.4 kB / 1.177 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004317/1.244, allocations: 1.693 MB / 1.179 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/1.245, allocations: 246.6 kB / 1.179 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004568/1.245, allocations: 168.8 kB / 1.18 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/1.245, allocations: 0 / 1.18 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007055/1.246, allocations: 301.3 kB / 1.18 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 1.763e-06/1.246, allocations: 0 / 1.18 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.008111/1.254, allocations: 1.5 MB / 1.181 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/1.254, allocations: 89.11 kB / 1.181 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005584/1.255, allocations: 453.7 kB / 1.182 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.188e-05/1.255, allocations: 41.7 kB / 1.182 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/1.255, allocations: 197 kB / 1.182 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/1.255, allocations: 94.64 kB / 1.182 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/1.255, allocations: 158.2 kB / 1.182 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001542/1.255, allocations: 362.7 kB / 1.183 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007621/1.256, allocations: 273.1 kB / 1.183 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008857/1.257, allocations: 417.8 kB / 1.183 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007493/1.265, allocations: 1.864 MB / 1.185 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.265, allocations: 0 / 1.185 GB, free: 5.688 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007228/1.272, allocations: 1.568 MB / 1.187 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.451e-05/1.272, allocations: 59.41 kB / 1.187 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.272, allocations: 7.938 kB / 1.187 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/1.274, allocations: 399.1 kB / 1.187 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/1.274, allocations: 91.88 kB / 1.187 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006099/1.28, allocations: 4.684 MB / 1.192 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.282, allocations: 103.2 kB / 1.192 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-05/1.282, allocations: 39.95 kB / 1.192 GB, free: 14.36 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.0003608/1.282, allocations: 170.2 kB / 1.192 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/1.282, allocations: 47.44 kB / 1.192 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.327e-05/1.282, allocations: 39.77 kB / 1.192 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/1.282, allocations: 4 kB / 1.192 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.282, allocations: 11.91 kB / 1.192 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.282, allocations: 4 kB / 1.192 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005992/1.283, allocations: 473.1 kB / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.283, allocations: 0 / 1.193 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/1.283, allocations: 27.97 kB / 1.193 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005947/1.284, allocations: 225.5 kB / 1.193 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/1.284, allocations: 11.98 kB / 1.193 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/1.286, allocations: 1.496 MB / 1.194 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.286, allocations: 0 / 1.194 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006161/1.292, allocations: 1.299 MB / 1.196 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/1.292, allocations: 156.5 kB / 1.196 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/1.292, allocations: 12 kB / 1.196 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004951/1.293, allocations: 35.95 kB / 1.196 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/1.293, allocations: 39.94 kB / 1.196 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/1.293, allocations: 19.92 kB / 1.196 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004736/1.294, allocations: 303.1 kB / 1.196 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of sort global known variables: time 5.11e-07/1.294, allocations: 0 / 1.196 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008364/1.294, allocations: 159.9 kB / 1.196 GB, free: 9.699 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.0004149/1.295, allocations: 175.7 kB / 1.196 GB, free: 9.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003457/1.298, allocations: 1.054 MB / 1.197 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.298, allocations: 4 kB / 1.197 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001508/1.3, allocations: 326.3 kB / 1.198 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/1.301, allocations: 109.8 kB / 1.198 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/1.303, allocations: 0.9137 MB / 1.199 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/1.303, allocations: 0.8112 MB / 1.2 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003721/1.303, allocations: 55.34 kB / 1.2 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/1.304, allocations: 39.41 kB / 1.2 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of SimCode: time 9.32e-07/1.304, allocations: 0 / 1.2 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of Templates: time 0.02354/1.327, allocations: 12.24 MB / 1.212 GB, free: 9.969 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=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