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.01388/0.01388, allocations: 101 kB / 15.87 MB, free: 5.867 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.002401/0.002401, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.512/1.512, allocations: 222.9 MB / 240.5 MB, free: 4.57 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.587/2.587, allocations: 437 MB / 0.7106 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 63.91 kB / 0.8692 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7268/0.7283, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004695/0.7331, allocations: 3.043 MB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1717/0.9048, allocations: 151.2 MB / 1.168 GB, free: 8 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005319/0.9054, allocations: 3.938 kB / 1.168 GB, free: 7.996 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004866/0.9059, allocations: 71.45 kB / 1.168 GB, free: 7.926 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00113/0.9071, allocations: 242.5 kB / 1.168 GB, free: 7.688 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.9098, allocations: 0.9336 MB / 1.169 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.9109, allocations: 0.7446 MB / 1.17 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.9111, allocations: 82.05 kB / 1.17 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005703/0.9117, allocations: 299 kB / 1.17 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006081/0.9123, allocations: 322.8 kB / 1.17 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.9125, allocations: 39.98 kB / 1.171 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.9145, allocations: 0.8692 MB / 1.171 GB, free: 4.414 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002071/0.9147, allocations: 139.4 kB / 1.172 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003783/0.9151, allocations: 262.8 kB / 1.172 GB, free: 4.02 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.9161, allocations: 0.6898 MB / 1.172 GB, free: 3.328 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9161, allocations: 0 / 1.172 GB, free: 3.328 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9162, allocations: 0 / 1.172 GB, free: 3.328 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.142e-05/0.9162, allocations: 7.938 kB / 1.172 GB, free: 3.32 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.003207/0.9194, allocations: 1.051 MB / 1.173 GB, free: 2.207 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.9194, allocations: 15.98 kB / 1.173 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002747/0.9222, allocations: 271.8 kB / 1.174 GB, free: 1.926 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007415/0.923, allocations: 404.8 kB / 1.174 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.9231, allocations: 91.83 kB / 1.174 GB, free: 1.387 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001379/0.9232, allocations: 44 kB / 1.174 GB, free: 1.344 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008881/0.9241, allocations: 368.2 kB / 1.175 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.9241, allocations: 3.938 kB / 1.175 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.138e-05/0.9242, allocations: 15.98 kB / 1.175 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.9242, allocations: 4 kB / 1.175 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000777/0.925, allocations: 261.4 kB / 1.175 GB, free: 0.6836 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004883/0.9299, allocations: 1.685 MB / 1.177 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/0.9307, allocations: 250.5 kB / 1.177 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/0.9312, allocations: 164.8 kB / 1.177 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.9313, allocations: 4 kB / 1.177 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007992/0.9321, allocations: 300.7 kB / 1.177 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 3.767e-06/0.9321, allocations: 0 / 1.177 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.008791/0.9409, allocations: 1.502 MB / 1.179 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.941, allocations: 85.05 kB / 1.179 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/0.9417, allocations: 457.7 kB / 1.179 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/0.9419, allocations: 45.7 kB / 1.179 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.9421, allocations: 196.9 kB / 1.179 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.9422, allocations: 98.72 kB / 1.18 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003359/0.9426, allocations: 158.2 kB / 1.18 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.9428, allocations: 354.8 kB / 1.18 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007967/0.9436, allocations: 273.1 kB / 1.18 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009436/0.9445, allocations: 417.8 kB / 1.181 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007811/0.9523, allocations: 1.852 MB / 1.182 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.9524, allocations: 0 / 1.182 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007823/0.9602, allocations: 1.58 MB / 1.184 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.036e-05/0.9603, allocations: 55.41 kB / 1.184 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.9603, allocations: 4 kB / 1.184 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001829/0.9621, allocations: 399.1 kB / 1.184 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.9627, allocations: 95.8 kB / 1.185 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005896/0.9686, allocations: 4.452 MB / 1.189 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.9698, allocations: 107.2 kB / 1.189 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.97, allocations: 35.95 kB / 1.189 GB, free: 1.527 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 ($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.0004219/0.9704, allocations: 190.7 kB / 1.189 GB, free: 1.332 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.9706, allocations: 43.44 kB / 1.189 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.121e-05/0.9707, allocations: 43.58 kB / 1.189 GB, free: 1.242 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.9707, allocations: 4 kB / 1.189 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.9707, allocations: 4 kB / 1.189 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9707, allocations: 0 / 1.189 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006936/0.9714, allocations: 485.1 kB / 1.19 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.9714, allocations: 0 / 1.19 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.9716, allocations: 19.98 kB / 1.19 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006494/0.9722, allocations: 233.5 kB / 1.19 GB, free: 468 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.9723, allocations: 15.98 kB / 1.19 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.9744, allocations: 1.484 MB / 1.191 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.9744, allocations: 0 / 1.191 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006703/0.9811, allocations: 1.289 MB / 1.193 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.9814, allocations: 164.4 kB / 1.193 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.9815, allocations: 11.94 kB / 1.193 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.9821, allocations: 35.95 kB / 1.193 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.9822, allocations: 43.88 kB / 1.193 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.9823, allocations: 15.98 kB / 1.193 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004536/0.9828, allocations: 299.1 kB / 1.193 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9828, allocations: 4 kB / 1.193 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008774/0.9837, allocations: 159.9 kB / 1.193 GB, free: 12.86 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.0004505/0.9841, allocations: 167.2 kB / 1.194 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003604/0.9877, allocations: 1.022 MB / 1.195 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.9877, allocations: 4.125 kB / 1.195 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.9893, allocations: 314.3 kB / 1.195 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006946/0.99, allocations: 113.8 kB / 1.195 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.992, allocations: 1.052 MB / 1.196 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.9924, allocations: 0.7996 MB / 1.197 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.9926, allocations: 35.42 kB / 1.197 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of SimCode: time 8.32e-07/0.9926, allocations: 4 kB / 1.197 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of Templates: time 0.01676/1.009, allocations: 12.21 MB / 1.209 GB, free: 13.07 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/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