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.001013/0.001013, allocations: 98.88 kB / 16.02 MB, free: 76 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.001111/0.001111, allocations: 184 kB / 16.92 MB, free: 6.684 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.446/1.446, allocations: 223.3 MB / 241 MB, free: 5.324 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.663/2.663, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 12 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7746, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.003793/0.7785, allocations: 2.67 MB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1848/0.9633, allocations: 149.5 MB / 1.172 GB, free: 7.09 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.9637, allocations: 4 kB / 1.172 GB, free: 7.086 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.9641, allocations: 75.44 kB / 1.172 GB, free: 7.012 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000826/0.965, allocations: 246.4 kB / 1.173 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002371/0.9673, allocations: 0.9317 MB / 1.174 GB, free: 5.848 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008033/0.9681, allocations: 0.7446 MB / 1.174 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000193/0.9683, allocations: 89.97 kB / 1.174 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003535/0.9687, allocations: 283 kB / 1.175 GB, free: 4.73 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/0.9692, allocations: 306.8 kB / 1.175 GB, free: 4.43 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.864e-05/0.9693, allocations: 32 kB / 1.175 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.9709, allocations: 0.877 MB / 1.176 GB, free: 3.52 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.971, allocations: 115.6 kB / 1.176 GB, free: 3.406 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003028/0.9713, allocations: 300.4 kB / 1.176 GB, free: 3.105 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008252/0.9721, allocations: 0.678 MB / 1.177 GB, free: 2.426 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.9722, allocations: 0 / 1.177 GB, free: 2.426 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.364e-06/0.9722, allocations: 0 / 1.177 GB, free: 2.426 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.9722, allocations: 0 / 1.177 GB, free: 2.426 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.002591/0.9748, allocations: 0.9736 MB / 1.178 GB, free: 1.391 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.9748, allocations: 11.98 kB / 1.178 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/0.9774, allocations: 271.8 kB / 1.178 GB, free: 1.113 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006079/0.978, allocations: 400.8 kB / 1.178 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.9781, allocations: 95.83 kB / 1.179 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.9782, allocations: 40 kB / 1.179 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008449/0.9791, allocations: 384.2 kB / 1.179 GB, free: 140 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.9791, allocations: 0 / 1.179 GB, free: 140 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/0.9792, allocations: 11.98 kB / 1.179 GB, free: 128 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.9792, allocations: 4 kB / 1.179 GB, free: 124 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008078/0.98, allocations: 285.4 kB / 1.179 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004558/0.9846, allocations: 1.704 MB / 1.181 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008302/0.9854, allocations: 282.5 kB / 1.181 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004927/0.9859, allocations: 172.8 kB / 1.181 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.986, allocations: 15.92 kB / 1.181 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007582/0.9867, allocations: 308.7 kB / 1.182 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=30): time 2.185e-06/0.9868, allocations: 4 kB / 1.182 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30): time 0.008632/0.9954, allocations: 1.568 MB / 1.183 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.9955, allocations: 85.05 kB / 1.183 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005945/0.9961, allocations: 453.7 kB / 1.184 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.9962, allocations: 41.7 kB / 1.184 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.9964, allocations: 200.8 kB / 1.184 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.9965, allocations: 94.73 kB / 1.184 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.9966, allocations: 73.67 kB / 1.184 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.9968, allocations: 354.8 kB / 1.184 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008187/0.9976, allocations: 289.1 kB / 1.185 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009266/0.9986, allocations: 433.7 kB / 1.185 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008013/1.007, allocations: 1.961 MB / 1.187 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.007, allocations: 0 / 1.187 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007611/1.014, allocations: 1.619 MB / 1.189 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.607e-05/1.014, allocations: 59.41 kB / 1.189 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.014, allocations: 4 kB / 1.189 GB, free: 5.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/1.016, allocations: 411.1 kB / 1.189 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/1.017, allocations: 95.8 kB / 1.189 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006081/1.023, allocations: 4.482 MB / 1.194 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/1.024, allocations: 107.2 kB / 1.194 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.341e-05/1.024, allocations: 43.95 kB / 1.194 GB, free: 404 kB / 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.0003461/1.025, allocations: 181.6 kB / 1.194 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/1.025, allocations: 47.42 kB / 1.194 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.658e-05/1.025, allocations: 39.58 kB / 1.194 GB, free: 124 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/1.025, allocations: 4 kB / 1.194 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.025, allocations: 0 / 1.194 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.025, allocations: 0 / 1.194 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/1.025, allocations: 473.1 kB / 1.194 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/1.025, allocations: 4 kB / 1.194 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/1.026, allocations: 31.97 kB / 1.194 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006225/1.026, allocations: 237.5 kB / 1.195 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.72e-05/1.026, allocations: 11.98 kB / 1.195 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/1.028, allocations: 1.496 MB / 1.196 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.028, allocations: 7.938 kB / 1.196 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006356/1.035, allocations: 1.335 MB / 1.197 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002238/1.035, allocations: 160.5 kB / 1.198 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.174e-05/1.035, allocations: 19.92 kB / 1.198 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004925/1.035, allocations: 47.95 kB / 1.198 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/1.035, allocations: 39.89 kB / 1.198 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/1.036, allocations: 15.97 kB / 1.198 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004014/1.036, allocations: 303.1 kB / 1.198 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.036, allocations: 0 / 1.198 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006987/1.037, allocations: 167.8 kB / 1.198 GB, free: 11.65 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.0003564/1.037, allocations: 163.2 kB / 1.198 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00325/1.04, allocations: 1.055 MB / 1.199 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.04, allocations: 0 / 1.199 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001531/1.042, allocations: 341.6 kB / 1.2 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/1.043, allocations: 104 kB / 1.2 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/1.044, allocations: 1.1 MB / 1.201 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/1.045, allocations: 0.8074 MB / 1.202 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/1.045, allocations: 35.42 kB / 1.202 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of SimCode: time 1.764e-06/1.045, allocations: 0 / 1.202 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of Templates: time 0.01662/1.061, allocations: 12.17 MB / 1.214 GB, free: 11.8 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