Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.007428/0.007428, 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.001339/0.00134, allocations: 194.9 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.399/1.399, 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 10.1.1-maint.10.0.x/package.mo): time 2.52/2.52, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001298, allocations: 63.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.116/1.118, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004537/1.122, allocations: 3.001 MB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.2182/1.34, allocations: 153.4 MB / 1.319 GB, free: 6.805 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000635/1.341, allocations: 7.938 kB / 1.319 GB, free: 6.797 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005383/1.342, allocations: 99 kB / 1.319 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001366/1.343, allocations: 270.1 kB / 1.32 GB, free: 6.438 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003084/1.346, allocations: 1.015 MB / 1.321 GB, free: 5.434 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001249/1.348, allocations: 0.7836 MB / 1.321 GB, free: 4.648 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/1.348, allocations: 90.03 kB / 1.322 GB, free: 4.559 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003956/1.348, allocations: 319 kB / 1.322 GB, free: 4.246 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005175/1.349, allocations: 342.8 kB / 1.322 GB, free: 3.91 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/1.349, allocations: 60 kB / 1.322 GB, free: 3.852 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/1.351, allocations: 0.7875 MB / 1.323 GB, free: 3.062 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001577/1.351, allocations: 147.6 kB / 1.323 GB, free: 2.918 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003065/1.351, allocations: 290.6 kB / 1.323 GB, free: 2.633 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/1.353, allocations: 0.9817 MB / 1.324 GB, free: 1.652 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/1.353, allocations: 0 / 1.324 GB, free: 1.652 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.442e-06/1.353, allocations: 0 / 1.324 GB, free: 1.652 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.549e-05/1.353, allocations: 0 / 1.324 GB, free: 1.652 MB / 1.045 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.002673/1.355, allocations: 1.081 MB / 1.325 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.356, allocations: 16.88 kB / 1.325 GB, free: 0.4922 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/1.358, allocations: 272.1 kB / 1.326 GB, free: 232 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007834/1.359, allocations: 409.1 kB / 1.326 GB, free: 15.79 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/1.359, allocations: 91.83 kB / 1.326 GB, free: 15.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/1.359, allocations: 44 kB / 1.326 GB, free: 15.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/1.36, allocations: 368.2 kB / 1.327 GB, free: 15.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/1.36, allocations: 0 / 1.327 GB, free: 15.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/1.36, allocations: 19.94 kB / 1.327 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/1.36, allocations: 4 kB / 1.327 GB, free: 15.24 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007427/1.361, allocations: 253.4 kB / 1.327 GB, free: 14.99 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004406/1.365, allocations: 1.685 MB / 1.329 GB, free: 13.24 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008038/1.366, allocations: 258.5 kB / 1.329 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/1.366, allocations: 152.8 kB / 1.329 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/1.367, allocations: 7.984 kB / 1.329 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007211/1.367, allocations: 308.8 kB / 1.329 GB, free: 12.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 2.425e-06/1.367, allocations: 0 / 1.329 GB, free: 12.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.008387/1.376, allocations: 1.506 MB / 1.331 GB, free: 10.94 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/1.376, allocations: 85.11 kB / 1.331 GB, free: 10.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000725/1.376, allocations: 453.8 kB / 1.331 GB, free: 10.38 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002295/1.377, allocations: 37.7 kB / 1.331 GB, free: 10.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/1.377, allocations: 209 kB / 1.331 GB, free: 10.13 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/1.377, allocations: 103.2 kB / 1.332 GB, free: 10.03 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/1.377, allocations: 154.2 kB / 1.332 GB, free: 9.875 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001618/1.378, allocations: 354.8 kB / 1.332 GB, free: 9.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007927/1.378, allocations: 277.1 kB / 1.332 GB, free: 9.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009467/1.379, allocations: 417.8 kB / 1.333 GB, free: 8.816 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007505/1.387, allocations: 1.858 MB / 1.335 GB, free: 6.898 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.387, allocations: 0 / 1.335 GB, free: 6.898 MB / 1.061 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007424/1.394, allocations: 1.58 MB / 1.336 GB, free: 5.285 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/1.394, allocations: 59.41 kB / 1.336 GB, free: 5.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/1.394, allocations: 4.125 kB / 1.336 GB, free: 5.211 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001787/1.396, allocations: 395 kB / 1.336 GB, free: 4.812 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000607/1.397, allocations: 91.8 kB / 1.337 GB, free: 4.723 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006239/1.403, allocations: 4.685 MB / 1.341 GB, free: 15.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/1.404, allocations: 99.45 kB / 1.341 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/1.405, allocations: 43.95 kB / 1.341 GB, free: 15.56 MB / 1.076 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.0005243/1.405, allocations: 175.5 kB / 1.341 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/1.405, allocations: 47.67 kB / 1.341 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/1.405, allocations: 43.56 kB / 1.342 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/1.405, allocations: 8 kB / 1.342 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/1.405, allocations: 3.938 kB / 1.342 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/1.405, allocations: 0 / 1.342 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006867/1.406, allocations: 469.2 kB / 1.342 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/1.406, allocations: 0 / 1.342 GB, free: 14.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/1.406, allocations: 27.97 kB / 1.342 GB, free: 14.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006541/1.407, allocations: 237.5 kB / 1.342 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.877e-05/1.407, allocations: 11.98 kB / 1.342 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/1.409, allocations: 1.489 MB / 1.344 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.409, allocations: 4 kB / 1.344 GB, free: 12.96 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006426/1.415, allocations: 1.275 MB / 1.345 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005401/1.416, allocations: 172.6 kB / 1.345 GB, free: 11.47 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/1.416, allocations: 8 kB / 1.345 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006283/1.417, allocations: 39.95 kB / 1.345 GB, free: 11.42 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002339/1.417, allocations: 35.94 kB / 1.345 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.574e-05/1.417, allocations: 19.98 kB / 1.345 GB, free: 11.37 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006316/1.418, allocations: 295.1 kB / 1.346 GB, free: 11.08 MB / 1.076 GB Notification: Performance of sort global known variables: time 5.61e-07/1.418, allocations: 0 / 1.346 GB, free: 11.08 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001245/1.419, allocations: 167.8 kB / 1.346 GB, free: 10.92 MB / 1.076 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.0006303/1.42, allocations: 177 kB / 1.346 GB, free: 10.74 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004117/1.424, allocations: 1.049 MB / 1.347 GB, free: 9.633 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.424, allocations: 0 / 1.347 GB, free: 9.633 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001628/1.426, allocations: 333.5 kB / 1.347 GB, free: 9.301 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009623/1.427, allocations: 105.4 kB / 1.347 GB, free: 9.199 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/1.429, allocations: 0.9052 MB / 1.348 GB, free: 8.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/1.429, allocations: 0.8118 MB / 1.349 GB, free: 7.434 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003827/1.43, allocations: 51.3 kB / 1.349 GB, free: 7.383 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/1.43, allocations: 39.42 kB / 1.349 GB, free: 7.344 MB / 1.076 GB Notification: Performance of SimCode: time 1.022e-06/1.43, allocations: 0 / 1.349 GB, free: 7.344 MB / 1.076 GB Notification: Performance of Templates: time 0.02475/1.455, allocations: 12.34 MB / 1.361 GB, free: 11.11 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches