Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.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_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 91.53 kB / 16.02 MB, free: 80 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.001489/0.001489, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.6/2.6, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.000499, allocations: 12 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7588/0.7593, allocations: 142.4 MB / 0.9557 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.003145/0.7625, allocations: 2.677 MB / 0.9583 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.9406, allocations: 149.5 MB / 1.104 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005604/0.9412, allocations: 8 kB / 1.104 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005043/0.9418, allocations: 79.44 kB / 1.104 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001101/0.9429, allocations: 234.5 kB / 1.105 GB, free: 6.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.9454, allocations: 0.9329 MB / 1.106 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.9465, allocations: 0.7484 MB / 1.106 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002113/0.9467, allocations: 87.81 kB / 1.106 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005344/0.9473, allocations: 279 kB / 1.107 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005694/0.9478, allocations: 310.8 kB / 1.107 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001706/0.948, allocations: 32 kB / 1.107 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.9498, allocations: 0.8848 MB / 1.108 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001965/0.95, allocations: 119.6 kB / 1.108 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000411/0.9504, allocations: 280.5 kB / 1.108 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009523/0.9514, allocations: 0.6779 MB / 1.109 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.9514, allocations: 0 / 1.109 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9514, allocations: 0 / 1.109 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.856e-05/0.9514, allocations: 0 / 1.109 GB, free: 1.945 MB / 0.8575 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.002783/0.9542, allocations: 0.9813 MB / 1.11 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.9543, allocations: 8.031 kB / 1.11 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002665/0.9569, allocations: 267.2 kB / 1.11 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/0.9577, allocations: 396.9 kB / 1.11 GB, free: 212 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001235/0.9578, allocations: 95.83 kB / 1.111 GB, free: 100 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.958, allocations: 40 kB / 1.111 GB, free: 60 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009093/0.9589, allocations: 384.2 kB / 1.111 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.9589, allocations: 0 / 1.111 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.959, allocations: 15.92 kB / 1.111 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.959, allocations: 4 kB / 1.111 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.9598, allocations: 285.5 kB / 1.111 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004773/0.9646, allocations: 1.704 MB / 1.113 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000833/0.9655, allocations: 270.6 kB / 1.113 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004935/0.966, allocations: 180.8 kB / 1.113 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.966, allocations: 4 kB / 1.113 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007529/0.9668, allocations: 308.7 kB / 1.114 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.014e-06/0.9668, allocations: 3.938 kB / 1.114 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.008738/0.9755, allocations: 1.567 MB / 1.115 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.9756, allocations: 85.11 kB / 1.115 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006532/0.9763, allocations: 457.6 kB / 1.116 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.9764, allocations: 41.7 kB / 1.116 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.9766, allocations: 200.9 kB / 1.116 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.9768, allocations: 98.72 kB / 1.116 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.9769, allocations: 69.67 kB / 1.116 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.9771, allocations: 358.7 kB / 1.116 GB, free: 9.867 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008482/0.9779, allocations: 285.1 kB / 1.117 GB, free: 9.586 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000968/0.9789, allocations: 433.8 kB / 1.117 GB, free: 9.141 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008123/0.987, allocations: 1.946 MB / 1.119 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.9871, allocations: 0 / 1.119 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007737/0.9948, allocations: 1.635 MB / 1.121 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.9949, allocations: 63.34 kB / 1.121 GB, free: 5.387 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.995, allocations: 8.125 kB / 1.121 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/0.9968, allocations: 407 kB / 1.121 GB, free: 4.969 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005678/0.9973, allocations: 95.86 kB / 1.121 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/1.003, allocations: 4.474 MB / 1.126 GB, free: 76 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/1.004, allocations: 103.3 kB / 1.126 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/1.005, allocations: 39.91 kB / 1.126 GB, free: 15.93 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.000375/1.005, allocations: 178.8 kB / 1.126 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/1.005, allocations: 39.44 kB / 1.126 GB, free: 15.71 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.338e-05/1.005, allocations: 47.56 kB / 1.126 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-06/1.005, allocations: 4 kB / 1.126 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.005, allocations: 4 kB / 1.126 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.005, allocations: 3.938 kB / 1.126 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/1.006, allocations: 477.1 kB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.006, allocations: 4 kB / 1.126 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/1.006, allocations: 39.91 kB / 1.126 GB, free: 15.09 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005991/1.007, allocations: 229.6 kB / 1.127 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/1.007, allocations: 15.92 kB / 1.127 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/1.008, allocations: 1.5 MB / 1.128 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.008, allocations: 0 / 1.128 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006285/1.015, allocations: 1.343 MB / 1.129 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/1.015, allocations: 164.4 kB / 1.13 GB, free: 11.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/1.015, allocations: 15.98 kB / 1.13 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005176/1.016, allocations: 43.95 kB / 1.13 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/1.016, allocations: 35.95 kB / 1.13 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/1.016, allocations: 15.97 kB / 1.13 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004081/1.016, allocations: 303.1 kB / 1.13 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/1.016, allocations: 0 / 1.13 GB, free: 11.35 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006878/1.017, allocations: 163.8 kB / 1.13 GB, free: 11.19 MB / 0.8887 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.0003861/1.017, allocations: 176.7 kB / 1.13 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003366/1.021, allocations: 1.062 MB / 1.131 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.021, allocations: 4 kB / 1.131 GB, free: 9.887 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/1.022, allocations: 325.6 kB / 1.132 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/1.023, allocations: 103.7 kB / 1.132 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/1.025, allocations: 1.092 MB / 1.133 GB, free: 8.348 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/1.025, allocations: 0.8074 MB / 1.134 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/1.026, allocations: 39.42 kB / 1.134 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of SimCode: time 4.1e-07/1.026, allocations: 0 / 1.134 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of Templates: time 0.01765/1.043, allocations: 12.18 MB / 1.146 GB, free: 11.33 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches