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.007928/0.007928, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001911/0.001911, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.11 MB / 206.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.205/2.205, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 71.89 kB / 0.9509 GB, free: 7.551 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8723/0.8742, allocations: 140.4 MB / 1.088 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse): time 0.004467/0.8788, allocations: 3.01 MB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1868/1.066, allocations: 153.4 MB / 1.241 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/1.066, allocations: 2.75 kB / 1.241 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003319/1.066, allocations: 93.92 kB / 1.241 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008116/1.067, allocations: 282.5 kB / 1.241 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/1.07, allocations: 1.025 MB / 1.242 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008735/1.07, allocations: 0.7779 MB / 1.243 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/1.071, allocations: 99.41 kB / 1.243 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/1.071, allocations: 327.4 kB / 1.243 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004333/1.072, allocations: 332.4 kB / 1.244 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.769e-05/1.072, allocations: 60.69 kB / 1.244 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/1.073, allocations: 0.7909 MB / 1.244 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/1.073, allocations: 155.1 kB / 1.245 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000286/1.074, allocations: 284.8 kB / 1.245 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/1.075, allocations: 0.9784 MB / 1.246 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/1.075, allocations: 0 / 1.246 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/1.075, allocations: 0 / 1.246 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.665e-06/1.075, allocations: 4 kB / 1.246 GB, free: 12.04 MB / 0.9825 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.00263/1.078, allocations: 1.07 MB / 1.247 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/1.078, allocations: 16.02 kB / 1.247 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002537/1.08, allocations: 267.3 kB / 1.247 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/1.081, allocations: 405.2 kB / 1.247 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.213e-05/1.081, allocations: 91.84 kB / 1.248 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/1.081, allocations: 51.94 kB / 1.248 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008143/1.082, allocations: 372.2 kB / 1.248 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.082, allocations: 0 / 1.248 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.022e-05/1.082, allocations: 19.88 kB / 1.248 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/1.082, allocations: 4 kB / 1.248 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007366/1.083, allocations: 249.5 kB / 1.248 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004371/1.087, allocations: 1.681 MB / 1.25 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007592/1.088, allocations: 254.6 kB / 1.25 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004563/1.089, allocations: 152.8 kB / 1.25 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/1.089, allocations: 7.984 kB / 1.25 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006958/1.089, allocations: 302.3 kB / 1.251 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.743e-06/1.089, allocations: 0 / 1.251 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.00835/1.098, allocations: 1.506 MB / 1.252 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/1.098, allocations: 85.11 kB / 1.252 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005449/1.098, allocations: 449.8 kB / 1.253 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/1.098, allocations: 45.69 kB / 1.253 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/1.099, allocations: 205 kB / 1.253 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-05/1.099, allocations: 99.22 kB / 1.253 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/1.099, allocations: 154.2 kB / 1.253 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.099, allocations: 362.7 kB / 1.253 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008051/1.1, allocations: 277.1 kB / 1.254 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/1.101, allocations: 421.7 kB / 1.254 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007811/1.109, allocations: 1.849 MB / 1.256 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.109, allocations: 0 / 1.256 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007647/1.116, allocations: 1.584 MB / 1.257 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/1.117, allocations: 59.41 kB / 1.257 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/1.117, allocations: 0 / 1.257 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/1.118, allocations: 391.1 kB / 1.258 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/1.119, allocations: 87.86 kB / 1.258 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005691/1.125, allocations: 4.687 MB / 1.262 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009984/1.126, allocations: 103.4 kB / 1.263 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.42e-05/1.126, allocations: 39.97 kB / 1.263 GB, free: 9.984 MB / 0.9981 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.0003398/1.126, allocations: 174.8 kB / 1.263 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.545e-05/1.126, allocations: 47.72 kB / 1.263 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.138e-05/1.126, allocations: 47.52 kB / 1.263 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/1.126, allocations: 4 kB / 1.263 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.126, allocations: 0 / 1.263 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.126, allocations: 3.984 kB / 1.263 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005045/1.127, allocations: 473.2 kB / 1.263 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.127, allocations: 0 / 1.263 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/1.127, allocations: 31.91 kB / 1.263 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006182/1.128, allocations: 229.5 kB / 1.264 GB, free: 8.926 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/1.128, allocations: 15.92 kB / 1.264 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/1.129, allocations: 1.488 MB / 1.265 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.129, allocations: 4 kB / 1.265 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006376/1.136, allocations: 1.292 MB / 1.266 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/1.136, allocations: 164.7 kB / 1.266 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.179e-05/1.136, allocations: 4 kB / 1.266 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/1.137, allocations: 39.95 kB / 1.267 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.137, allocations: 39.88 kB / 1.267 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/1.137, allocations: 19.98 kB / 1.267 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003837/1.137, allocations: 299.1 kB / 1.267 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.137, allocations: 0 / 1.267 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006369/1.138, allocations: 163.8 kB / 1.267 GB, free: 5.324 MB / 0.9981 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.0003257/1.138, allocations: 179.1 kB / 1.267 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003184/1.141, allocations: 1.048 MB / 1.268 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.141, allocations: 0 / 1.268 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001549/1.143, allocations: 329.4 kB / 1.269 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/1.144, allocations: 114.4 kB / 1.269 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/1.145, allocations: 0.9111 MB / 1.27 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/1.146, allocations: 0.8073 MB / 1.27 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002436/1.146, allocations: 59.27 kB / 1.27 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/1.146, allocations: 39.42 kB / 1.27 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/1.146, allocations: 0 / 1.27 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of Templates: time 0.01854/1.165, allocations: 12.35 MB / 1.282 GB, free: 5.48 MB / 1.014 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