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.001349/0.001349, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001665/0.001665, allocations: 212.2 kB / 22.99 MB, free: 4.984 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.551/1.551, allocations: 230.6 MB / 256.8 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.303/3.303, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.002062/0.002062, allocations: 71.02 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4105, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004941/0.4155, allocations: 2.813 MB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1947/0.6102, allocations: 134.9 MB / 1.462 GB, free: 6.703 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003655/0.6105, allocations: 0 / 1.462 GB, free: 6.703 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003829/0.6109, allocations: 83.23 kB / 1.462 GB, free: 6.621 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.000932/0.6118, allocations: 286 kB / 1.462 GB, free: 6.34 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.6145, allocations: 1.022 MB / 1.463 GB, free: 5.328 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0009859/0.6155, allocations: 0.7797 MB / 1.464 GB, free: 4.547 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.6157, allocations: 70.17 kB / 1.464 GB, free: 4.473 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000407/0.6161, allocations: 331 kB / 1.464 GB, free: 4.148 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005301/0.6167, allocations: 338.8 kB / 1.464 GB, free: 3.816 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.6168, allocations: 60 kB / 1.465 GB, free: 3.758 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.6183, allocations: 0.7484 MB / 1.465 GB, free: 3.008 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.6185, allocations: 147.6 kB / 1.465 GB, free: 2.863 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002905/0.6188, allocations: 251 kB / 1.466 GB, free: 2.617 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.6201, allocations: 0.981 MB / 1.467 GB, free: 1.633 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6201, allocations: 0 / 1.467 GB, free: 1.633 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6201, allocations: 0 / 1.467 GB, free: 1.633 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.6201, allocations: 0 / 1.467 GB, free: 1.633 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.002988/0.6231, allocations: 1.055 MB / 1.468 GB, free: 0.5273 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6232, allocations: 8.031 kB / 1.468 GB, free: 0.5195 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/0.6265, allocations: 328 kB / 1.468 GB, free: 204 kB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007225/0.6272, allocations: 351.4 kB / 1.468 GB, free: 15.82 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/0.6273, allocations: 95.83 kB / 1.468 GB, free: 15.72 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.6274, allocations: 36 kB / 1.468 GB, free: 15.68 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008796/0.6283, allocations: 368.2 kB / 1.469 GB, free: 15.3 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.6283, allocations: 4 kB / 1.469 GB, free: 15.3 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.6284, allocations: 7.938 kB / 1.469 GB, free: 15.29 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.6284, allocations: 12 kB / 1.469 GB, free: 15.28 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007938/0.6292, allocations: 261.3 kB / 1.469 GB, free: 15.02 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004807/0.634, allocations: 1.47 MB / 1.47 GB, free: 13.51 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008273/0.6348, allocations: 230.6 kB / 1.471 GB, free: 13.27 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004966/0.6353, allocations: 152 kB / 1.471 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.6353, allocations: 8 kB / 1.471 GB, free: 13.12 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007864/0.6361, allocations: 304.7 kB / 1.471 GB, free: 12.8 MB / 1.17 GB Notification: Performance of pre-optimization done (n=30): time 2.354e-06/0.6361, allocations: 3.938 kB / 1.471 GB, free: 12.8 MB / 1.17 GB Notification: Performance of matching and sorting (n=30): time 0.009412/0.6455, allocations: 1.355 MB / 1.472 GB, free: 11.43 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.078e-05/0.6456, allocations: 93.09 kB / 1.473 GB, free: 11.32 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006447/0.6463, allocations: 425.7 kB / 1.473 GB, free: 10.89 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.6464, allocations: 45.69 kB / 1.473 GB, free: 10.84 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.6466, allocations: 201.6 kB / 1.473 GB, free: 10.64 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.6468, allocations: 99.22 kB / 1.473 GB, free: 10.54 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/0.6471, allocations: 158.2 kB / 1.473 GB, free: 10.38 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.6473, allocations: 350.8 kB / 1.474 GB, free: 10.03 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008766/0.6481, allocations: 328.5 kB / 1.474 GB, free: 9.699 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.6493, allocations: 0.6745 MB / 1.475 GB, free: 8.934 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008576/0.6579, allocations: 1.861 MB / 1.477 GB, free: 7.016 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.6579, allocations: 0 / 1.477 GB, free: 7.016 MB / 1.17 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.008455/0.6664, allocations: 1.654 MB / 1.478 GB, free: 5.316 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/0.6664, allocations: 63.39 kB / 1.478 GB, free: 5.242 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6664, allocations: 0 / 1.478 GB, free: 5.242 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/0.6683, allocations: 399.1 kB / 1.479 GB, free: 4.84 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005891/0.6689, allocations: 99.8 kB / 1.479 GB, free: 4.742 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00665/0.6756, allocations: 4.419 MB / 1.483 GB, free: 68 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.6767, allocations: 95.62 kB / 1.483 GB, free: 15.97 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.6768, allocations: 43.84 kB / 1.483 GB, free: 15.93 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.0003565/0.6772, allocations: 176.3 kB / 1.483 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.6773, allocations: 43.72 kB / 1.483 GB, free: 15.71 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.99e-05/0.6774, allocations: 47.28 kB / 1.483 GB, free: 15.66 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6774, allocations: 4 kB / 1.483 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6774, allocations: 0 / 1.483 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.6774, allocations: 3.984 kB / 1.483 GB, free: 15.65 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.6779, allocations: 345 kB / 1.484 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.6779, allocations: 4 kB / 1.484 GB, free: 15.28 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.6781, allocations: 27.97 kB / 1.484 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006975/0.6788, allocations: 234.1 kB / 1.484 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.6789, allocations: 11.98 kB / 1.484 GB, free: 15 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.681, allocations: 1.496 MB / 1.485 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.681, allocations: 0 / 1.485 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007226/0.6882, allocations: 1.298 MB / 1.487 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.6885, allocations: 91.52 kB / 1.487 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.621e-05/0.6885, allocations: 8 kB / 1.487 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000571/0.6891, allocations: 35.95 kB / 1.487 GB, free: 12 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.6893, allocations: 39.92 kB / 1.487 GB, free: 11.96 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.6893, allocations: 15.98 kB / 1.487 GB, free: 11.95 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004016/0.6897, allocations: 287.1 kB / 1.487 GB, free: 11.67 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.6897, allocations: 0 / 1.487 GB, free: 11.67 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007484/0.6904, allocations: 155.9 kB / 1.487 GB, free: 11.52 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.0003976/0.6908, allocations: 190.8 kB / 1.488 GB, free: 11.32 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00352/0.6944, allocations: 1.059 MB / 1.489 GB, free: 10.2 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/0.6944, allocations: 8.062 kB / 1.489 GB, free: 10.19 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/0.6961, allocations: 309.4 kB / 1.489 GB, free: 9.879 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/0.6967, allocations: 104 kB / 1.489 GB, free: 9.781 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.6986, allocations: 0.9095 MB / 1.49 GB, free: 8.852 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.6988, allocations: 207.8 kB / 1.49 GB, free: 8.625 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002926/0.6991, allocations: 55.2 kB / 1.49 GB, free: 8.57 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.6993, allocations: 35.42 kB / 1.49 GB, free: 8.535 MB / 1.186 GB Notification: Performance of SimCode: time 1.142e-06/0.6993, allocations: 4 kB / 1.49 GB, free: 8.531 MB / 1.186 GB Notification: Performance of Templates: time 0.02503/0.7243, allocations: 13.85 MB / 1.504 GB, free: 10.8 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 -s gbode -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: 10.313675090001198]