Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.0009758/0.0009758, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009412/0.0009412, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 0.8896/0.8896, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.774/1.774, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.183e-05, allocations: 4.844 kB / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002085/0.002097, allocations: 2.108 MB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.003358, allocations: 1.199 MB / 0.7633 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.003433, allocations: 4.656 kB / 0.7633 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002993/0.003733, allocations: 116.3 kB / 0.7634 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.284e-05/0.003805, allocations: 49.25 kB / 0.7634 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.004253, allocations: 265.7 kB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002252/0.004478, allocations: 307.2 kB / 0.764 GB, free: 2.586 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.004579, allocations: 67.17 kB / 0.7641 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.004695, allocations: 155.7 kB / 0.7642 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.004807, allocations: 103.7 kB / 0.7643 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.004835, allocations: 32.53 kB / 0.7643 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.005085, allocations: 241.4 kB / 0.7646 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.005156, allocations: 95.69 kB / 0.7647 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.614e-05/0.005222, allocations: 91.75 kB / 0.7647 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.005564, allocations: 446.7 kB / 0.7652 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.005565, allocations: 0 / 0.7652 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.81e-07/0.005566, allocations: 1.219 kB / 0.7652 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.005568, allocations: 0 / 0.7652 GB, free: 1.383 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005497/0.006118, allocations: 0.6896 MB / 0.7658 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.555e-05/0.006144, allocations: 8.031 kB / 0.7659 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.006191, allocations: 41.62 kB / 0.7659 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.006601, allocations: 214.5 kB / 0.7661 GB, free: 356 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.006614, allocations: 12.66 kB / 0.7661 GB, free: 344 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.006635, allocations: 17 kB / 0.7661 GB, free: 328 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.006877, allocations: 278.1 kB / 0.7664 GB, free: 24 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.006884, allocations: 192 / 0.7664 GB, free: 24 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.006898, allocations: 9.938 kB / 0.7664 GB, free: 16 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.006904, allocations: 3.938 kB / 0.7664 GB, free: 12 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.007028, allocations: 177.6 kB / 0.7666 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.007438, allocations: 358.8 kB / 0.7669 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.007622, allocations: 195.6 kB / 0.7671 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.007717, allocations: 165.9 kB / 0.7673 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.007726, allocations: 3.984 kB / 0.7673 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.007746, allocations: 38.5 kB / 0.7673 GB, free: 15 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.007747, allocations: 0 / 0.7673 GB, free: 15 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0003502/0.008098, allocations: 0.5072 MB / 0.7678 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.008142, allocations: 148.4 kB / 0.7679 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.008288, allocations: 262.9 kB / 0.7682 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.008303, allocations: 25.7 kB / 0.7682 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.03e-05/0.008353, allocations: 145.1 kB / 0.7683 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.008382, allocations: 51.56 kB / 0.7684 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.008432, allocations: 45.69 kB / 0.7684 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.008503, allocations: 340.2 kB / 0.7688 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.008629, allocations: 253 kB / 0.769 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.008745, allocations: 251.5 kB / 0.7692 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.008964, allocations: 433.9 kB / 0.7697 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.008966, allocations: 1.031 kB / 0.7697 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000282/0.009248, allocations: 0.5566 MB / 0.7702 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.584e-05/0.009314, allocations: 183.3 kB / 0.7704 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.009318, allocations: 3.938 kB / 0.7704 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.009329, allocations: 0 / 0.7704 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.304e-05/0.009392, allocations: 21.55 kB / 0.7704 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.009394, allocations: 3.938 kB / 0.7704 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.009459, allocations: 27.88 kB / 0.7704 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.009473, allocations: 10.75 kB / 0.7704 GB, free: 11.41 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.783e-05/0.009571, allocations: 209.8 kB / 0.7706 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.009603, allocations: 23.98 kB / 0.7707 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.009632, allocations: 29.89 kB / 0.7707 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.009633, allocations: 0 / 0.7707 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.009635, allocations: 0 / 0.7707 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.009637, allocations: 0 / 0.7707 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.009783, allocations: 167.8 kB / 0.7709 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.009784, allocations: 0 / 0.7709 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.009829, allocations: 19.98 kB / 0.7709 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.009831, allocations: 4 kB / 0.7709 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.009842, allocations: 11.94 kB / 0.7709 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.009843, allocations: 2.406 kB / 0.7709 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.009845, allocations: 3.938 kB / 0.7709 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.0101, allocations: 473.6 kB / 0.7713 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.01013, allocations: 31.78 kB / 0.7714 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.01015, allocations: 4 kB / 0.7714 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.01022, allocations: 19.98 kB / 0.7714 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.01029, allocations: 32.78 kB / 0.7714 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.516e-06/0.0103, allocations: 4 kB / 0.7714 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.252e-05/0.01037, allocations: 101.1 kB / 0.7715 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01037, allocations: 0 / 0.7715 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002131/0.01059, allocations: 108.4 kB / 0.7716 GB, free: 10.09 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001742/0.01076, allocations: 158.4 kB / 0.7718 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.01114, allocations: 0.789 MB / 0.7726 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.01115, allocations: 4 kB / 0.7726 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004126/0.01156, allocations: 350.9 kB / 0.7729 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002206/0.01178, allocations: 80.12 kB / 0.773 GB, free: 8.527 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006645/0.01244, allocations: 0.6389 MB / 0.7736 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.312e-05/0.0125, allocations: 103.9 kB / 0.7737 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.099e-05/0.01254, allocations: 13.64 kB / 0.7737 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.01271, allocations: 131.2 kB / 0.7738 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.01271, allocations: 0 / 0.7738 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of Templates: time 0.00732/0.02003, allocations: 6.702 MB / 0.7804 GB, free: 1.145 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.66797194397077]