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.001847/0.001847, allocations: 110.2 kB / 16.46 MB, free: 6.508 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.00226/0.00226, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.537/1.537, allocations: 230.5 MB / 252.8 MB, free: 9.145 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.366/3.366, allocations: 0.49 GB / 0.7916 GB, free: 33.32 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.00211/0.00211, allocations: 64.25 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4178, allocations: 176.1 MB / 1.321 GB, free: 2.754 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.004896/0.4227, allocations: 3.033 MB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2084/0.6311, allocations: 156.8 MB / 1.477 GB, free: 2.355 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004955/0.6316, allocations: 0 / 1.477 GB, free: 2.355 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0003959/0.632, allocations: 87.2 kB / 1.477 GB, free: 2.27 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.6332, allocations: 286.1 kB / 1.478 GB, free: 1.988 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003501/0.6367, allocations: 1.031 MB / 1.479 GB, free: 0.9648 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001441/0.6381, allocations: 0.7875 MB / 1.479 GB, free: 180 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002323/0.6383, allocations: 66.05 kB / 1.48 GB, free: 112 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008739/0.6392, allocations: 327 kB / 1.48 GB, free: 15.79 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008159/0.64, allocations: 338.8 kB / 1.48 GB, free: 15.46 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002492/0.6403, allocations: 68 kB / 1.48 GB, free: 15.39 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.6428, allocations: 0.842 MB / 1.481 GB, free: 14.55 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.6431, allocations: 143.6 kB / 1.481 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005767/0.6437, allocations: 290.7 kB / 1.481 GB, free: 14.12 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003149/0.6468, allocations: 0.9966 MB / 1.482 GB, free: 13.12 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6469, allocations: 0 / 1.482 GB, free: 13.12 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6469, allocations: 0 / 1.482 GB, free: 13.12 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.379e-05/0.6469, allocations: 0 / 1.482 GB, free: 13.12 MB / 1.186 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.003973/0.6509, allocations: 1.082 MB / 1.483 GB, free: 11.98 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.6509, allocations: 8.031 kB / 1.484 GB, free: 11.97 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003632/0.6545, allocations: 324 kB / 1.484 GB, free: 11.65 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.656, allocations: 413 kB / 1.484 GB, free: 11.21 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001648/0.6561, allocations: 95.84 kB / 1.484 GB, free: 11.11 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.6563, allocations: 39.98 kB / 1.484 GB, free: 11.07 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.6576, allocations: 372.2 kB / 1.485 GB, free: 10.68 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.6576, allocations: 0 / 1.485 GB, free: 10.68 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.6577, allocations: 11.98 kB / 1.485 GB, free: 10.67 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.6577, allocations: 4 kB / 1.485 GB, free: 10.66 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009714/0.6587, allocations: 261.4 kB / 1.485 GB, free: 10.41 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00609/0.6648, allocations: 1.677 MB / 1.487 GB, free: 8.664 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000922/0.6657, allocations: 230.6 kB / 1.487 GB, free: 8.43 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.6663, allocations: 152.7 kB / 1.487 GB, free: 8.277 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.935e-05/0.6663, allocations: 4 kB / 1.487 GB, free: 8.273 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008341/0.6671, allocations: 296.8 kB / 1.487 GB, free: 7.965 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 2.344e-06/0.6671, allocations: 0 / 1.487 GB, free: 7.965 MB / 1.186 GB Notification: Performance of matching and sorting (n=30): time 0.01002/0.6772, allocations: 1.517 MB / 1.489 GB, free: 6.398 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.509e-05/0.6773, allocations: 93.09 kB / 1.489 GB, free: 6.289 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008235/0.6781, allocations: 457.7 kB / 1.489 GB, free: 5.832 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002126/0.6783, allocations: 45.64 kB / 1.489 GB, free: 5.781 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.6786, allocations: 193.1 kB / 1.489 GB, free: 5.59 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.6788, allocations: 107.1 kB / 1.49 GB, free: 5.484 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003933/0.6792, allocations: 158.2 kB / 1.49 GB, free: 5.32 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002296/0.6794, allocations: 358.8 kB / 1.49 GB, free: 4.961 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008832/0.6803, allocations: 269.2 kB / 1.49 GB, free: 4.699 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.6815, allocations: 421.8 kB / 1.491 GB, free: 4.258 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009045/0.6906, allocations: 1.853 MB / 1.493 GB, free: 2.344 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.6906, allocations: 0 / 1.493 GB, free: 2.344 MB / 1.186 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.009051/0.6996, allocations: 1.596 MB / 1.494 GB, free: 0.7148 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-05/0.6997, allocations: 59.41 kB / 1.494 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6997, allocations: 0 / 1.494 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002043/0.7018, allocations: 411 kB / 1.495 GB, free: 236 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.7024, allocations: 91.8 kB / 1.495 GB, free: 144 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008363/0.7108, allocations: 4.69 MB / 1.499 GB, free: 11.12 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/0.712, allocations: 99.45 kB / 1.499 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/0.7122, allocations: 39.95 kB / 1.499 GB, free: 10.98 MB / 1.201 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.0005559/0.7127, allocations: 177.5 kB / 1.5 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.7129, allocations: 43.72 kB / 1.5 GB, free: 10.75 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.713, allocations: 43.58 kB / 1.5 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.713, allocations: 4.188 kB / 1.5 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.713, allocations: 7.922 kB / 1.5 GB, free: 10.7 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.713, allocations: 3.984 kB / 1.5 GB, free: 10.7 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007966/0.7138, allocations: 473.3 kB / 1.5 GB, free: 10.19 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.7138, allocations: 0 / 1.5 GB, free: 10.19 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.714, allocations: 31.97 kB / 1.5 GB, free: 10.16 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007261/0.7148, allocations: 225.5 kB / 1.5 GB, free: 9.93 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.7148, allocations: 11.98 kB / 1.5 GB, free: 9.918 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002439/0.7172, allocations: 1.492 MB / 1.502 GB, free: 8.379 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7172, allocations: 4 kB / 1.502 GB, free: 8.375 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007632/0.7249, allocations: 1.314 MB / 1.503 GB, free: 7.035 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.7252, allocations: 160.7 kB / 1.503 GB, free: 6.859 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.7253, allocations: 11.98 kB / 1.503 GB, free: 6.848 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005285/0.7259, allocations: 43.95 kB / 1.503 GB, free: 6.805 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.726, allocations: 31.95 kB / 1.503 GB, free: 6.773 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.285e-05/0.7261, allocations: 15.97 kB / 1.503 GB, free: 6.758 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005333/0.7266, allocations: 303.1 kB / 1.504 GB, free: 6.461 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.7266, allocations: 0 / 1.504 GB, free: 6.461 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0008175/0.7274, allocations: 171.8 kB / 1.504 GB, free: 6.293 MB / 1.201 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.0006073/0.728, allocations: 175.1 kB / 1.504 GB, free: 6.113 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.003909/0.7319, allocations: 1.017 MB / 1.505 GB, free: 5.039 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7319, allocations: 0 / 1.505 GB, free: 5.039 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.7337, allocations: 309.5 kB / 1.505 GB, free: 4.73 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007742/0.7345, allocations: 111.5 kB / 1.505 GB, free: 4.621 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.7367, allocations: 0.9068 MB / 1.506 GB, free: 3.691 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007397/0.7374, allocations: 0.8074 MB / 1.507 GB, free: 2.855 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003323/0.7378, allocations: 59.33 kB / 1.507 GB, free: 2.797 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.7379, allocations: 31.42 kB / 1.507 GB, free: 2.766 MB / 1.201 GB Notification: Performance of SimCode: time 1.312e-06/0.7379, allocations: 0 / 1.507 GB, free: 2.766 MB / 1.201 GB Notification: Performance of Templates: time 0.02705/0.765, allocations: 12.51 MB / 1.519 GB, free: 6.359 MB / 1.217 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: 10.418720310088247]