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.001336/0.001336, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001416/0.001416, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.262/2.262, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 64.89 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2364, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.004274/0.2407, allocations: 3.013 MB / 0.9541 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6092/0.8498, allocations: 153.4 MB / 1.104 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.8502, allocations: 3.531 kB / 1.104 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.8506, allocations: 85.62 kB / 1.104 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0008493/0.8515, allocations: 280.1 kB / 1.104 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.8541, allocations: 0.9974 MB / 1.105 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00097/0.8551, allocations: 0.7917 MB / 1.106 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.8553, allocations: 96.62 kB / 1.106 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004743/0.8558, allocations: 318.7 kB / 1.106 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.8563, allocations: 337.8 kB / 1.107 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.8564, allocations: 60.5 kB / 1.107 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.8583, allocations: 0.7847 MB / 1.108 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.8585, allocations: 155.7 kB / 1.108 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004339/0.859, allocations: 289.2 kB / 1.108 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.8608, allocations: 0.9668 MB / 1.109 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.8608, allocations: 1.172 kB / 1.109 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.815e-06/0.8608, allocations: 4.562 kB / 1.109 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.698e-06/0.8608, allocations: 0 / 1.109 GB, free: 5.426 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.003083/0.8639, allocations: 1.055 MB / 1.11 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.864, allocations: 13.59 kB / 1.11 GB, free: 20.8 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002816/0.8668, allocations: 261.5 kB / 1.11 GB, free: 20.77 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007501/0.8675, allocations: 411.8 kB / 1.111 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.8677, allocations: 91.62 kB / 1.111 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.8678, allocations: 37.91 kB / 1.111 GB, free: 20.46 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008618/0.8687, allocations: 370.9 kB / 1.111 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.8687, allocations: 1.344 kB / 1.111 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.8687, allocations: 10.8 kB / 1.111 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.8688, allocations: 9.438 kB / 1.111 GB, free: 20.38 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007783/0.8695, allocations: 256.7 kB / 1.111 GB, free: 20.37 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004766/0.8743, allocations: 1.673 MB / 1.113 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007702/0.8751, allocations: 247.9 kB / 1.113 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/0.8756, allocations: 164.2 kB / 1.113 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.8756, allocations: 3.312 kB / 1.113 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007176/0.8764, allocations: 302.2 kB / 1.114 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.8764, allocations: 0 / 1.114 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.008421/0.8848, allocations: 1.5 MB / 1.115 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.8849, allocations: 92 kB / 1.115 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006052/0.8855, allocations: 454.2 kB / 1.116 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.8856, allocations: 39.72 kB / 1.116 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.8858, allocations: 195.4 kB / 1.116 GB, free: 18.94 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.417e-05/0.8859, allocations: 98.03 kB / 1.116 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.8862, allocations: 159.9 kB / 1.116 GB, free: 18.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8863, allocations: 355.4 kB / 1.116 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/0.8871, allocations: 276.5 kB / 1.117 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008845/0.888, allocations: 423.4 kB / 1.117 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007515/0.8955, allocations: 1.849 MB / 1.119 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.8956, allocations: 1.156 kB / 1.119 GB, free: 18.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00758/0.9031, allocations: 1.574 MB / 1.12 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.216e-05/0.9032, allocations: 61.03 kB / 1.121 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.9032, allocations: 7.031 kB / 1.121 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/0.905, allocations: 391.5 kB / 1.121 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005643/0.9055, allocations: 93.05 kB / 1.121 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005652/0.9112, allocations: 4.69 MB / 1.126 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.9122, allocations: 92.81 kB / 1.126 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.885e-05/0.9123, allocations: 40.3 kB / 1.126 GB, free: 13.8 MB / 0.8731 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.0003028/0.9127, allocations: 179 kB / 1.126 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-05/0.9127, allocations: 43.31 kB / 1.126 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.414e-05/0.9128, allocations: 42.2 kB / 1.126 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.9128, allocations: 4.188 kB / 1.126 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.9128, allocations: 3.938 kB / 1.126 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.9128, allocations: 3.547 kB / 1.126 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005049/0.9134, allocations: 471.1 kB / 1.126 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.9134, allocations: 1.094 kB / 1.126 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.9135, allocations: 29.53 kB / 1.126 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005824/0.9141, allocations: 228.9 kB / 1.127 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.9142, allocations: 11.17 kB / 1.127 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001779/0.916, allocations: 1.492 MB / 1.128 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.916, allocations: 5.062 kB / 1.128 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006101/0.9221, allocations: 1.297 MB / 1.129 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.9223, allocations: 161.7 kB / 1.13 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.841e-05/0.9224, allocations: 10.12 kB / 1.13 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.9229, allocations: 34.55 kB / 1.13 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.923, allocations: 44.42 kB / 1.13 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/0.9231, allocations: 11.12 kB / 1.13 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003805/0.9235, allocations: 308.6 kB / 1.13 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9235, allocations: 2.25 kB / 1.13 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006799/0.9242, allocations: 156.1 kB / 1.13 GB, free: 11.83 MB / 0.8731 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.000312/0.9245, allocations: 181.5 kB / 1.13 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003065/0.9276, allocations: 1.045 MB / 1.131 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9276, allocations: 1.281 kB / 1.131 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/0.9291, allocations: 323.9 kB / 1.132 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006257/0.9297, allocations: 118.2 kB / 1.132 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.9313, allocations: 0.9006 MB / 1.133 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.9317, allocations: 0.8043 MB / 1.133 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00027/0.9319, allocations: 62.14 kB / 1.133 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.9321, allocations: 37.5 kB / 1.133 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/0.9321, allocations: 0 / 1.133 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of Templates: time 0.02/0.9521, allocations: 12.29 MB / 1.145 GB, free: 8.145 MB / 0.8731 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 -s gbode -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