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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001129/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001145/0.001145, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 67.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5765/0.5779, allocations: 140.4 MB / 0.9489 GB, free: 9.406 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.003537/0.5815, allocations: 3.053 MB / 0.9519 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1607/0.7422, allocations: 151.1 MB / 1.1 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004367/0.7426, allocations: 7.938 kB / 1.1 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004296/0.7431, allocations: 75.5 kB / 1.1 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009734/0.7441, allocations: 238.5 kB / 1.1 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.7466, allocations: 0.9305 MB / 1.101 GB, free: 6.309 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0009131/0.7475, allocations: 0.7408 MB / 1.101 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.7477, allocations: 85.98 kB / 1.102 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004907/0.7482, allocations: 299 kB / 1.102 GB, free: 5.188 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005269/0.7487, allocations: 318.8 kB / 1.102 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.7489, allocations: 36 kB / 1.102 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001787/0.7507, allocations: 0.881 MB / 1.103 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.7509, allocations: 127.5 kB / 1.103 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003677/0.7513, allocations: 274.7 kB / 1.103 GB, free: 3.562 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.7527, allocations: 0.9659 MB / 1.104 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.7527, allocations: 0 / 1.104 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.142e-06/0.7528, allocations: 3.938 kB / 1.104 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.944e-05/0.7528, allocations: 0 / 1.104 GB, free: 2.59 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.002994/0.7558, allocations: 1.055 MB / 1.105 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.7558, allocations: 8.031 kB / 1.105 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.7585, allocations: 267.3 kB / 1.106 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007511/0.7593, allocations: 396.8 kB / 1.106 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.7594, allocations: 91.84 kB / 1.106 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.7596, allocations: 43.98 kB / 1.106 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009294/0.7605, allocations: 368.2 kB / 1.107 GB, free: 256 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.7605, allocations: 0 / 1.107 GB, free: 256 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.7606, allocations: 23.86 kB / 1.107 GB, free: 232 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.7606, allocations: 4 kB / 1.107 GB, free: 228 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008047/0.7614, allocations: 253.5 kB / 1.107 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004872/0.7663, allocations: 1.688 MB / 1.108 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008046/0.7671, allocations: 250.6 kB / 1.109 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.7676, allocations: 160.8 kB / 1.109 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.7677, allocations: 3.984 kB / 1.109 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008393/0.7685, allocations: 300.8 kB / 1.109 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 3.216e-06/0.7685, allocations: 0 / 1.109 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.009223/0.7778, allocations: 1.502 MB / 1.111 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.7779, allocations: 85.11 kB / 1.111 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006798/0.7786, allocations: 449.7 kB / 1.111 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002058/0.7788, allocations: 41.69 kB / 1.111 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.779, allocations: 200.9 kB / 1.111 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.7792, allocations: 98.64 kB / 1.111 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/0.7795, allocations: 162.2 kB / 1.112 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.7797, allocations: 358.7 kB / 1.112 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008405/0.7805, allocations: 273.1 kB / 1.112 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009788/0.7815, allocations: 421.8 kB / 1.113 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008187/0.7897, allocations: 1.845 MB / 1.114 GB, free: 7.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.7898, allocations: 4 kB / 1.114 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008001/0.7978, allocations: 1.576 MB / 1.116 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-05/0.7979, allocations: 63.34 kB / 1.116 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.7979, allocations: 4 kB / 1.116 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001868/0.7998, allocations: 391.1 kB / 1.116 GB, free: 5.824 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/0.8005, allocations: 91.86 kB / 1.116 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005963/0.8064, allocations: 4.468 MB / 1.121 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.8076, allocations: 103.2 kB / 1.121 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.8077, allocations: 39.95 kB / 1.121 GB, free: 0.8047 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.000363/0.8081, allocations: 175 kB / 1.121 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001727/0.8083, allocations: 47.38 kB / 1.121 GB, free: 0.5781 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.202e-05/0.8084, allocations: 43.52 kB / 1.121 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.8084, allocations: 7.984 kB / 1.121 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.8084, allocations: 0 / 1.121 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.8084, allocations: 0 / 1.121 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005869/0.809, allocations: 469.2 kB / 1.122 GB, free: 20 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.809, allocations: 7.938 kB / 1.122 GB, free: 12 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.8092, allocations: 31.97 kB / 1.122 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006543/0.8099, allocations: 225.6 kB / 1.122 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.8099, allocations: 15.97 kB / 1.122 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.8119, allocations: 1.488 MB / 1.123 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8119, allocations: 0 / 1.123 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006725/0.8186, allocations: 1.286 MB / 1.125 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.819, allocations: 172.3 kB / 1.125 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.8191, allocations: 8 kB / 1.125 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005431/0.8196, allocations: 35.95 kB / 1.125 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.8198, allocations: 43.94 kB / 1.125 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.8198, allocations: 15.98 kB / 1.125 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0004193/0.8203, allocations: 303.1 kB / 1.125 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8203, allocations: 0 / 1.125 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0007137/0.821, allocations: 159.9 kB / 1.125 GB, free: 12.16 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.000383/0.8214, allocations: 182.2 kB / 1.125 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003392/0.8248, allocations: 1.021 MB / 1.126 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8248, allocations: 0 / 1.126 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001602/0.8264, allocations: 321.6 kB / 1.127 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007456/0.8272, allocations: 109.7 kB / 1.127 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002085/0.8293, allocations: 1.015 MB / 1.128 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.8297, allocations: 0.8074 MB / 1.129 GB, free: 8.598 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003946/0.8301, allocations: 51.34 kB / 1.129 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001571/0.8303, allocations: 35.41 kB / 1.129 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of SimCode: time 8.72e-07/0.8303, allocations: 0 / 1.129 GB, free: 8.516 MB / 0.8887 GB Notification: Performance of Templates: time 0.02008/0.8504, allocations: 11.6 MB / 1.14 GB, free: 13.02 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/jenkins/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