Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003072/0.003072, allocations: 212.6 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.692/1.692, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.778/3.778, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|evaSho.m|evaNor.m|evaSho.mEva_flow|evaNor.mEva_flow|intSho.y|intNor.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 77.27 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.476/0.4781, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005978/0.4841, allocations: 2.811 MB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2143/0.6984, allocations: 134.9 MB / 1.46 GB, free: 7.555 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000567/0.699, allocations: 7.938 kB / 1.46 GB, free: 7.547 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005473/0.6995, allocations: 83.22 kB / 1.46 GB, free: 7.465 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.701, allocations: 286.1 kB / 1.46 GB, free: 7.184 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003532/0.7045, allocations: 1.019 MB / 1.461 GB, free: 6.176 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001536/0.706, allocations: 0.7797 MB / 1.462 GB, free: 5.395 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000284/0.7063, allocations: 70.16 kB / 1.462 GB, free: 5.32 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000982/0.7073, allocations: 327 kB / 1.463 GB, free: 5 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009969/0.7083, allocations: 302.8 kB / 1.463 GB, free: 4.703 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000337/0.7086, allocations: 60 kB / 1.463 GB, free: 4.645 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.7112, allocations: 0.7367 MB / 1.464 GB, free: 3.906 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004165/0.7116, allocations: 151.5 kB / 1.464 GB, free: 3.758 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000793/0.7124, allocations: 254.9 kB / 1.464 GB, free: 3.508 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.7155, allocations: 0.9772 MB / 1.465 GB, free: 2.527 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.7156, allocations: 0 / 1.465 GB, free: 2.527 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.825e-06/0.7156, allocations: 0 / 1.465 GB, free: 2.527 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.117e-05/0.7156, allocations: 0 / 1.465 GB, free: 2.527 MB / 1.154 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.004299/0.7199, allocations: 1.051 MB / 1.466 GB, free: 1.426 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 8.982e-05/0.72, allocations: 8.031 kB / 1.466 GB, free: 1.418 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003459/0.7235, allocations: 328 kB / 1.466 GB, free: 1.098 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.7248, allocations: 351.2 kB / 1.467 GB, free: 0.7305 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.725, allocations: 95.83 kB / 1.467 GB, free: 0.6211 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.7252, allocations: 36 kB / 1.467 GB, free: 0.5859 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.7263, allocations: 376.2 kB / 1.467 GB, free: 200 kB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.7263, allocations: 3.938 kB / 1.467 GB, free: 196 kB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/0.7264, allocations: 12 kB / 1.467 GB, free: 184 kB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.7264, allocations: 4 kB / 1.467 GB, free: 180 kB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009711/0.7274, allocations: 257.4 kB / 1.467 GB, free: 15.93 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004991/0.7323, allocations: 1.47 MB / 1.469 GB, free: 14.41 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008411/0.7332, allocations: 234.5 kB / 1.469 GB, free: 14.17 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.7337, allocations: 148.7 kB / 1.469 GB, free: 14.02 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.7337, allocations: 4 kB / 1.469 GB, free: 14.02 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008341/0.7346, allocations: 300.8 kB / 1.47 GB, free: 13.71 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 3.236e-06/0.7346, allocations: 0 / 1.47 GB, free: 13.71 MB / 1.17 GB Notification: Performance of matching and sorting (n=30): time 0.008672/0.7432, allocations: 1.366 MB / 1.471 GB, free: 12.33 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.854e-05/0.7433, allocations: 89.11 kB / 1.471 GB, free: 12.22 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.744, allocations: 429.7 kB / 1.471 GB, free: 11.79 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.7442, allocations: 41.69 kB / 1.471 GB, free: 11.74 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002896/0.7445, allocations: 209.6 kB / 1.472 GB, free: 11.53 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.7446, allocations: 103.2 kB / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003582/0.745, allocations: 154.2 kB / 1.472 GB, free: 11.27 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002507/0.7452, allocations: 346.8 kB / 1.472 GB, free: 10.93 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009247/0.7461, allocations: 332.5 kB / 1.472 GB, free: 10.59 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.7474, allocations: 0.6746 MB / 1.473 GB, free: 9.824 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008185/0.7556, allocations: 1.85 MB / 1.475 GB, free: 7.914 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.7556, allocations: 7.984 kB / 1.475 GB, free: 7.906 MB / 1.17 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008125/0.7637, allocations: 1.653 MB / 1.477 GB, free: 6.207 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 8e-05/0.7638, allocations: 59.39 kB / 1.477 GB, free: 6.137 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.7638, allocations: 4 kB / 1.477 GB, free: 6.133 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/0.7656, allocations: 387.2 kB / 1.477 GB, free: 5.742 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005854/0.7662, allocations: 103.7 kB / 1.477 GB, free: 5.641 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006852/0.773, allocations: 4.427 MB / 1.481 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.7742, allocations: 95.5 kB / 1.482 GB, free: 0.8672 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.7743, allocations: 39.91 kB / 1.482 GB, free: 0.8281 MB / 1.17 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.0004039/0.7747, allocations: 184.2 kB / 1.482 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.7748, allocations: 39.72 kB / 1.482 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.519e-05/0.7749, allocations: 39.34 kB / 1.482 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.7749, allocations: 4 kB / 1.482 GB, free: 0.5547 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.775, allocations: 4 kB / 1.482 GB, free: 0.5508 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.775, allocations: 3.984 kB / 1.482 GB, free: 0.5469 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005993/0.7756, allocations: 345 kB / 1.482 GB, free: 184 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.7756, allocations: 4 kB / 1.482 GB, free: 180 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.7757, allocations: 31.91 kB / 1.482 GB, free: 148 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006618/0.7764, allocations: 237.5 kB / 1.482 GB, free: 15.91 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.7764, allocations: 11.98 kB / 1.482 GB, free: 15.89 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.7786, allocations: 1.489 MB / 1.484 GB, free: 14.36 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7786, allocations: 0 / 1.484 GB, free: 14.36 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00658/0.7852, allocations: 1.296 MB / 1.485 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002909/0.7855, allocations: 87.61 kB / 1.485 GB, free: 12.95 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.7856, allocations: 8 kB / 1.485 GB, free: 12.94 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000508/0.7861, allocations: 47.88 kB / 1.485 GB, free: 12.89 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001788/0.7862, allocations: 43.92 kB / 1.485 GB, free: 12.85 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/0.7863, allocations: 15.98 kB / 1.485 GB, free: 12.84 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004327/0.7867, allocations: 279.1 kB / 1.486 GB, free: 12.57 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7867, allocations: 0 / 1.486 GB, free: 12.57 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007968/0.7875, allocations: 163.9 kB / 1.486 GB, free: 12.41 MB / 1.186 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.0004277/0.7879, allocations: 175 kB / 1.486 GB, free: 12.23 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003791/0.7917, allocations: 1.071 MB / 1.487 GB, free: 11.09 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7917, allocations: 0 / 1.487 GB, free: 11.09 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.7933, allocations: 312.4 kB / 1.487 GB, free: 10.78 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006985/0.794, allocations: 115.6 kB / 1.487 GB, free: 10.67 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.7962, allocations: 0.8987 MB / 1.488 GB, free: 9.75 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.7964, allocations: 211.8 kB / 1.488 GB, free: 9.52 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003344/0.7968, allocations: 51.22 kB / 1.488 GB, free: 9.469 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.7969, allocations: 35.42 kB / 1.489 GB, free: 9.438 MB / 1.186 GB Notification: Performance of SimCode: time 1.383e-06/0.7969, allocations: 0 / 1.489 GB, free: 9.438 MB / 1.186 GB Notification: Performance of Templates: time 0.02668/0.8236, allocations: 13.8 MB / 1.502 GB, free: 11.77 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.582756215706468]