Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.008547/0.008547, allocations: 99.56 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.002016/0.002017, allocations: 193.9 kB / 16.67 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.652/2.652, allocations: 472.6 MB / 0.7453 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 67.91 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9668/0.9682, allocations: 159.9 MB / 1.226 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004705/0.973, allocations: 2.99 MB / 1.229 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1896/1.163, allocations: 153.4 MB / 1.378 GB, free: 0.5312 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004454/1.163, allocations: 4 kB / 1.378 GB, free: 0.5273 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0004307/1.164, allocations: 94.98 kB / 1.378 GB, free: 448 kB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0009068/1.165, allocations: 274 kB / 1.379 GB, free: 172 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002545/1.167, allocations: 1.014 MB / 1.38 GB, free: 15.16 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0008875/1.168, allocations: 0.7874 MB / 1.38 GB, free: 14.38 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002067/1.168, allocations: 90.03 kB / 1.381 GB, free: 14.29 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/1.169, allocations: 319 kB / 1.381 GB, free: 13.97 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004851/1.169, allocations: 330.8 kB / 1.381 GB, free: 13.65 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/1.169, allocations: 64 kB / 1.381 GB, free: 13.59 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001603/1.171, allocations: 0.7914 MB / 1.382 GB, free: 12.79 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001505/1.171, allocations: 151.5 kB / 1.382 GB, free: 12.64 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0002779/1.171, allocations: 286.8 kB / 1.382 GB, free: 12.36 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001278/1.173, allocations: 0.974 MB / 1.383 GB, free: 11.39 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/1.173, allocations: 0 / 1.383 GB, free: 11.39 MB / 1.107 GB Notification: Performance of FrontEnd: time 4.629e-06/1.173, allocations: 0 / 1.383 GB, free: 11.39 MB / 1.107 GB Notification: Performance of Transformations before backend: time 8.867e-06/1.173, allocations: 3.938 kB / 1.383 GB, free: 11.39 MB / 1.107 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.002491/1.175, allocations: 1.078 MB / 1.384 GB, free: 10.24 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.175, allocations: 12.03 kB / 1.384 GB, free: 10.23 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00234/1.177, allocations: 268.1 kB / 1.385 GB, free: 9.969 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007069/1.178, allocations: 405.1 kB / 1.385 GB, free: 9.531 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/1.178, allocations: 87.84 kB / 1.385 GB, free: 9.434 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/1.178, allocations: 55.91 kB / 1.385 GB, free: 9.379 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/1.179, allocations: 372.2 kB / 1.386 GB, free: 8.992 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.179, allocations: 0 / 1.386 GB, free: 8.992 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/1.179, allocations: 12 kB / 1.386 GB, free: 8.98 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/1.179, allocations: 8 kB / 1.386 GB, free: 8.973 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007087/1.18, allocations: 253.4 kB / 1.386 GB, free: 8.723 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004159/1.184, allocations: 1.685 MB / 1.388 GB, free: 6.973 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007418/1.185, allocations: 254.5 kB / 1.388 GB, free: 6.715 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004645/1.185, allocations: 160 kB / 1.388 GB, free: 6.559 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/1.185, allocations: 4 kB / 1.388 GB, free: 6.555 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006706/1.186, allocations: 300.7 kB / 1.388 GB, free: 6.242 MB / 1.107 GB Notification: Performance of pre-optimization done (n=30): time 1.512e-06/1.186, allocations: 0 / 1.388 GB, free: 6.242 MB / 1.107 GB Notification: Performance of matching and sorting (n=30): time 0.007809/1.194, allocations: 1.502 MB / 1.39 GB, free: 4.691 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/1.194, allocations: 93.09 kB / 1.39 GB, free: 4.582 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/1.195, allocations: 453.7 kB / 1.39 GB, free: 4.125 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/1.195, allocations: 37.7 kB / 1.39 GB, free: 4.082 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/1.195, allocations: 205.1 kB / 1.39 GB, free: 3.879 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/1.195, allocations: 103.2 kB / 1.391 GB, free: 3.777 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003079/1.195, allocations: 158.2 kB / 1.391 GB, free: 3.613 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001852/1.196, allocations: 358.8 kB / 1.391 GB, free: 3.254 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000802/1.196, allocations: 269.1 kB / 1.391 GB, free: 2.992 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009833/1.197, allocations: 417.8 kB / 1.392 GB, free: 2.555 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007595/1.205, allocations: 1.864 MB / 1.393 GB, free: 0.6367 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.443e-06/1.205, allocations: 0 / 1.393 GB, free: 0.6367 MB / 1.107 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007691/1.213, allocations: 1.58 MB / 1.395 GB, free: 15.02 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 7.846e-05/1.213, allocations: 63.39 kB / 1.395 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.213, allocations: 0 / 1.395 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/1.215, allocations: 403.1 kB / 1.395 GB, free: 14.54 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005173/1.215, allocations: 87.86 kB / 1.396 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006536/1.222, allocations: 4.684 MB / 1.4 GB, free: 9.441 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009931/1.223, allocations: 95.45 kB / 1.4 GB, free: 9.348 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/1.223, allocations: 43.97 kB / 1.4 GB, free: 9.305 MB / 1.123 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.0003777/1.223, allocations: 166.8 kB / 1.4 GB, free: 9.133 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/1.224, allocations: 47.67 kB / 1.4 GB, free: 9.086 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.362e-05/1.224, allocations: 43.58 kB / 1.401 GB, free: 9.043 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/1.224, allocations: 4 kB / 1.401 GB, free: 9.039 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.224, allocations: 7.938 kB / 1.401 GB, free: 9.031 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/1.224, allocations: 4.125 kB / 1.401 GB, free: 9.027 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006739/1.224, allocations: 473.2 kB / 1.401 GB, free: 8.516 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.224, allocations: 0 / 1.401 GB, free: 8.516 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001745/1.225, allocations: 35.89 kB / 1.401 GB, free: 8.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006347/1.225, allocations: 225.5 kB / 1.401 GB, free: 8.254 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.367e-05/1.225, allocations: 11.98 kB / 1.401 GB, free: 8.242 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00194/1.227, allocations: 1.492 MB / 1.403 GB, free: 6.703 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.227, allocations: 4 kB / 1.403 GB, free: 6.699 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00608/1.233, allocations: 1.287 MB / 1.404 GB, free: 5.383 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002459/1.234, allocations: 168.6 kB / 1.404 GB, free: 5.199 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.63e-05/1.234, allocations: 8 kB / 1.404 GB, free: 5.191 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/1.234, allocations: 43.95 kB / 1.404 GB, free: 5.148 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/1.234, allocations: 35.94 kB / 1.404 GB, free: 5.113 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.044e-05/1.234, allocations: 19.98 kB / 1.404 GB, free: 5.094 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003977/1.235, allocations: 295.1 kB / 1.404 GB, free: 4.809 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.235, allocations: 0 / 1.404 GB, free: 4.809 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006246/1.235, allocations: 163.8 kB / 1.405 GB, free: 4.648 MB / 1.123 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.0003772/1.236, allocations: 171.1 kB / 1.405 GB, free: 4.473 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003135/1.239, allocations: 1.042 MB / 1.406 GB, free: 3.375 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/1.239, allocations: 4 kB / 1.406 GB, free: 3.371 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/1.241, allocations: 327.5 kB / 1.406 GB, free: 3.047 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/1.241, allocations: 109.8 kB / 1.406 GB, free: 2.938 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/1.243, allocations: 0.9191 MB / 1.407 GB, free: 2.004 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005901/1.244, allocations: 0.8074 MB / 1.408 GB, free: 1.172 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0002758/1.244, allocations: 55.33 kB / 1.408 GB, free: 1.117 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/1.244, allocations: 39.42 kB / 1.408 GB, free: 1.078 MB / 1.123 GB Notification: Performance of SimCode: time 4.11e-07/1.244, allocations: 3.938 kB / 1.408 GB, free: 1.074 MB / 1.123 GB Notification: Performance of Templates: time 0.02225/1.266, allocations: 12.34 MB / 1.42 GB, free: 4.832 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches