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.001663/0.001663, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.00171/0.00171, allocations: 209.1 kB / 23.03 MB, free: 4.863 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.307/3.307, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002074/0.002074, allocations: 66.2 kB / 1.155 GB, free: 25.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4419/0.444, allocations: 176.1 MB / 1.327 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004917/0.4489, allocations: 2.811 MB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1834/0.6323, allocations: 134.9 MB / 1.462 GB, free: 6.66 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004235/0.6328, allocations: 7.938 kB / 1.462 GB, free: 6.652 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004157/0.6332, allocations: 87.22 kB / 1.462 GB, free: 6.566 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.6343, allocations: 282.1 kB / 1.462 GB, free: 6.289 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.6371, allocations: 1.017 MB / 1.463 GB, free: 5.281 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001123/0.6382, allocations: 0.7835 MB / 1.464 GB, free: 4.496 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.6384, allocations: 70.16 kB / 1.464 GB, free: 4.422 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005053/0.6389, allocations: 331 kB / 1.464 GB, free: 4.098 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005458/0.6395, allocations: 306.8 kB / 1.465 GB, free: 3.797 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.6396, allocations: 60 kB / 1.465 GB, free: 3.738 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001688/0.6413, allocations: 0.7289 MB / 1.465 GB, free: 3.008 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.6414, allocations: 155.6 kB / 1.465 GB, free: 2.855 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.6418, allocations: 247 kB / 1.466 GB, free: 2.613 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.6433, allocations: 0.9772 MB / 1.467 GB, free: 1.633 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.6433, allocations: 3.984 kB / 1.467 GB, free: 1.629 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6433, allocations: 0 / 1.467 GB, free: 1.629 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.6433, allocations: 4 kB / 1.467 GB, free: 1.625 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.002848/0.6461, allocations: 1.051 MB / 1.468 GB, free: 0.5234 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.6462, allocations: 12.03 kB / 1.468 GB, free: 0.5117 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003091/0.6493, allocations: 324 kB / 1.468 GB, free: 200 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00085/0.6501, allocations: 347.2 kB / 1.468 GB, free: 15.83 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.6502, allocations: 91.83 kB / 1.468 GB, free: 15.73 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.6504, allocations: 40 kB / 1.468 GB, free: 15.69 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000977/0.6513, allocations: 376.2 kB / 1.469 GB, free: 15.3 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.6513, allocations: 0 / 1.469 GB, free: 15.3 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.232e-05/0.6514, allocations: 12 kB / 1.469 GB, free: 15.29 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.6514, allocations: 7.938 kB / 1.469 GB, free: 15.28 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008598/0.6523, allocations: 257.4 kB / 1.469 GB, free: 15.03 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004758/0.657, allocations: 1.458 MB / 1.47 GB, free: 13.52 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008055/0.6578, allocations: 238.6 kB / 1.471 GB, free: 13.28 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004724/0.6583, allocations: 152.7 kB / 1.471 GB, free: 13.13 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.6583, allocations: 7.984 kB / 1.471 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007687/0.6591, allocations: 296.8 kB / 1.471 GB, free: 12.81 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 3.436e-06/0.6591, allocations: 0 / 1.471 GB, free: 12.81 MB / 1.17 GB Notification: Performance of matching and sorting (n=30): time 0.008538/0.6676, allocations: 1.366 MB / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.451e-05/0.6677, allocations: 89.05 kB / 1.473 GB, free: 11.33 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006521/0.6684, allocations: 429.7 kB / 1.473 GB, free: 10.89 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.6685, allocations: 41.7 kB / 1.473 GB, free: 10.85 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.6688, allocations: 213.6 kB / 1.473 GB, free: 10.64 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.6689, allocations: 91.23 kB / 1.473 GB, free: 10.55 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.6692, allocations: 154.2 kB / 1.473 GB, free: 10.39 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.6694, allocations: 358.8 kB / 1.474 GB, free: 10.03 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008354/0.6702, allocations: 324.5 kB / 1.474 GB, free: 9.703 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.6714, allocations: 0.6746 MB / 1.475 GB, free: 8.938 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007938/0.6794, allocations: 1.861 MB / 1.477 GB, free: 7.02 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.6794, allocations: 4 kB / 1.477 GB, free: 7.016 MB / 1.17 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007923/0.6873, allocations: 1.653 MB / 1.478 GB, free: 5.316 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 7.917e-05/0.6874, allocations: 60.97 kB / 1.478 GB, free: 5.246 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.6874, allocations: 0 / 1.478 GB, free: 5.246 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001788/0.6892, allocations: 395.2 kB / 1.479 GB, free: 4.848 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/0.6898, allocations: 99.73 kB / 1.479 GB, free: 4.75 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006362/0.6962, allocations: 4.416 MB / 1.483 GB, free: 76 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001067/0.6972, allocations: 91.66 kB / 1.483 GB, free: 15.98 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.6974, allocations: 44.42 kB / 1.483 GB, free: 15.94 MB / 1.186 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.0003492/0.6977, allocations: 182.5 kB / 1.483 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/0.6978, allocations: 39.72 kB / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.555e-05/0.6979, allocations: 47.33 kB / 1.483 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6979, allocations: 3.938 kB / 1.483 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.6979, allocations: 4 kB / 1.483 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6979, allocations: 0 / 1.483 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.6984, allocations: 349.1 kB / 1.484 GB, free: 15.29 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.6984, allocations: 4 kB / 1.484 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.6986, allocations: 23.97 kB / 1.484 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006865/0.6993, allocations: 237.4 kB / 1.484 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.6993, allocations: 11.98 kB / 1.484 GB, free: 15.01 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.7014, allocations: 1.488 MB / 1.485 GB, free: 13.47 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7014, allocations: 3.938 kB / 1.485 GB, free: 13.47 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006642/0.708, allocations: 1.302 MB / 1.487 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.7083, allocations: 87.48 kB / 1.487 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-05/0.7084, allocations: 15.98 kB / 1.487 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.7089, allocations: 47.89 kB / 1.487 GB, free: 11.99 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.709, allocations: 35.94 kB / 1.487 GB, free: 11.96 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.709, allocations: 11.98 kB / 1.487 GB, free: 11.95 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004116/0.7095, allocations: 279.1 kB / 1.487 GB, free: 11.67 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.7095, allocations: 4 kB / 1.487 GB, free: 11.67 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007635/0.7102, allocations: 163.9 kB / 1.487 GB, free: 11.51 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.0003998/0.7106, allocations: 172.6 kB / 1.488 GB, free: 11.33 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003368/0.714, allocations: 1.071 MB / 1.489 GB, free: 10.19 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.714, allocations: 0 / 1.489 GB, free: 10.19 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001515/0.7155, allocations: 301.6 kB / 1.489 GB, free: 9.891 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006307/0.7161, allocations: 112.8 kB / 1.489 GB, free: 9.785 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/0.7181, allocations: 0.9495 MB / 1.49 GB, free: 8.812 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.7183, allocations: 199.8 kB / 1.49 GB, free: 8.594 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.7185, allocations: 39.42 kB / 1.49 GB, free: 8.555 MB / 1.186 GB Notification: Performance of SimCode: time 8.71e-07/0.7185, allocations: 0 / 1.49 GB, free: 8.555 MB / 1.186 GB Notification: Performance of Templates: time 0.01851/0.737, allocations: 12.36 MB / 1.502 GB, free: 12.23 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/jenkins1/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: 13.990460923174396]