Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00202/0.00202, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002325/0.002325, allocations: 161.7 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.627/1.627, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.919/2.919, allocations: 359 MB / 0.6048 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.7864 GB, free: 11.63 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.351e-05/3.551e-05, allocations: 2.312 kB / 0.7864 GB, free: 11.62 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse): time 0.005517/0.005553, allocations: 2.972 MB / 0.7893 GB, free: 8.656 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.2317/0.2373, allocations: 149.1 MB / 0.935 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004327/0.2377, allocations: 7.938 kB / 0.935 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004166/0.2381, allocations: 91.16 kB / 0.935 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.2391, allocations: 293.8 kB / 0.9353 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.2418, allocations: 1.012 MB / 0.9363 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.2429, allocations: 0.8068 MB / 0.9371 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.2431, allocations: 62.3 kB / 0.9372 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006385/0.2437, allocations: 451.1 kB / 0.9376 GB, free: 336 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004935/0.2442, allocations: 271.3 kB / 0.9379 GB, free: 64 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.2444, allocations: 60 kB / 0.9379 GB, free: 4 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001956/0.2463, allocations: 0.7442 MB / 0.9386 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001813/0.2465, allocations: 151.5 kB / 0.9388 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000308/0.2468, allocations: 219.5 kB / 0.939 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.2485, allocations: 1.083 MB / 0.94 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2485, allocations: 0 / 0.94 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2485, allocations: 0 / 0.94 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.2485, allocations: 0 / 0.94 GB, free: 13.81 MB / 0.8542 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.002815/0.2513, allocations: 1.172 MB / 0.9412 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2513, allocations: 8.031 kB / 0.9412 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/0.2543, allocations: 335.9 kB / 0.9415 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007669/0.2551, allocations: 346.2 kB / 0.9418 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.2552, allocations: 95.89 kB / 0.9419 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.2553, allocations: 43.95 kB / 0.942 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000817/0.2561, allocations: 375.3 kB / 0.9423 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2562, allocations: 0 / 0.9423 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.2562, allocations: 16 kB / 0.9424 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.2562, allocations: 4 kB / 0.9424 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.2569, allocations: 213.8 kB / 0.9426 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004779/0.2616, allocations: 1.734 MB / 0.9443 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/0.2623, allocations: 223.1 kB / 0.9445 GB, free: 9.086 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004107/0.2627, allocations: 132.3 kB / 0.9446 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.421e-05/0.2628, allocations: 4 kB / 0.9446 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007072/0.2635, allocations: 296.1 kB / 0.9449 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 1.372e-06/0.2635, allocations: 4 kB / 0.9449 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.008255/0.2717, allocations: 1.266 MB / 0.9461 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/0.2718, allocations: 85.11 kB / 0.9462 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007197/0.2725, allocations: 0.5337 MB / 0.9467 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.257e-05/0.2726, allocations: 37.7 kB / 0.9468 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.2729, allocations: 264.4 kB / 0.947 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.273, allocations: 115.1 kB / 0.9471 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003471/0.2734, allocations: 179.9 kB / 0.9473 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003451/0.2737, allocations: 0.5391 MB / 0.9478 GB, free: 5.539 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007886/0.2745, allocations: 312.6 kB / 0.9481 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.2756, allocations: 0.6459 MB / 0.9487 GB, free: 4.477 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002083/0.2777, allocations: 0.8526 MB / 0.9496 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.2777, allocations: 0 / 0.9496 GB, free: 3.574 MB / 0.8542 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00754/0.2853, allocations: 1.59 MB / 0.9511 GB, free: 1.934 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.477e-05/0.2853, allocations: 63.39 kB / 0.9512 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.2853, allocations: 4 kB / 0.9512 GB, free: 1.855 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002575/0.2879, allocations: 486.4 kB / 0.9517 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/0.2885, allocations: 95.8 kB / 0.9518 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007972/0.2964, allocations: 6.088 MB / 0.9577 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000944/0.2974, allocations: 95.52 kB / 0.9578 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.2975, allocations: 35.95 kB / 0.9578 GB, free: 10.74 MB / 0.8698 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.0003509/0.2978, allocations: 212.5 kB / 0.958 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.298, allocations: 55.66 kB / 0.9581 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.418e-05/0.298, allocations: 43.33 kB / 0.9581 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.298, allocations: 4 kB / 0.9581 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.298, allocations: 4 kB / 0.9581 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2981, allocations: 4 kB / 0.9581 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000606/0.2987, allocations: 392.3 kB / 0.9585 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.2987, allocations: 4 kB / 0.9585 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.2988, allocations: 23.86 kB / 0.9585 GB, free: 9.973 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006133/0.2994, allocations: 227.6 kB / 0.9588 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.2995, allocations: 15.97 kB / 0.9588 GB, free: 9.727 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002721/0.3022, allocations: 2.103 MB / 0.9608 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3022, allocations: 0 / 0.9608 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006143/0.3083, allocations: 1.214 MB / 0.962 GB, free: 6.316 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002438/0.3086, allocations: 83.58 kB / 0.9621 GB, free: 6.234 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.131e-05/0.3087, allocations: 12 kB / 0.9621 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004063/0.3091, allocations: 31.91 kB / 0.9621 GB, free: 6.191 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.3092, allocations: 39.92 kB / 0.9622 GB, free: 6.152 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/0.3093, allocations: 15.98 kB / 0.9622 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00045/0.3097, allocations: 339 kB / 0.9625 GB, free: 5.805 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.3097, allocations: 4 kB / 0.9625 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007489/0.3105, allocations: 167.8 kB / 0.9627 GB, free: 5.637 MB / 0.8698 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.0004304/0.3109, allocations: 175.7 kB / 0.9628 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003361/0.3143, allocations: 1.182 MB / 0.964 GB, free: 4.191 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3143, allocations: 4.125 kB / 0.964 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.3157, allocations: 315.3 kB / 0.9643 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006544/0.3163, allocations: 117.4 kB / 0.9644 GB, free: 3.754 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3182, allocations: 0.8513 MB / 0.9652 GB, free: 2.875 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.3184, allocations: 211.7 kB / 0.9654 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002281/0.3186, allocations: 47.27 kB / 0.9655 GB, free: 2.605 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.3187, allocations: 40.47 kB / 0.9655 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of SimCode: time 7.02e-07/0.3187, allocations: 4 kB / 0.9655 GB, free: 2.562 MB / 0.8698 GB Notification: Performance of Templates: time 0.0257/0.3444, allocations: 13.39 MB / 0.9786 GB, free: 5.309 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.EvaporationPulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_EvaporationPulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.207990676979534]