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.001628/0.001628, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001435/0.001435, allocations: 185 kB / 24.09 MB, free: 416 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.9492/0.9492, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.815/1.815, allocations: 377.9 MB / 0.624 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 4.008e-06/4.008e-06, allocations: 4 kB / 0.812 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/3.059e-05, allocations: 2.312 kB / 0.812 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002807/0.002837, allocations: 2.097 MB / 0.8141 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.004378, allocations: 1.157 MB / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.004501, allocations: 0 / 0.8152 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004012/0.004902, allocations: 111.8 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.005028, allocations: 61.39 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007264/0.005754, allocations: 262.9 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000398/0.006152, allocations: 299.2 kB / 0.8159 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.006315, allocations: 71.5 kB / 0.816 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.006514, allocations: 159.7 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.006669, allocations: 99.69 kB / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.006709, allocations: 33.44 kB / 0.8163 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.00709, allocations: 243.6 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.007219, allocations: 95.69 kB / 0.8166 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.007319, allocations: 91.77 kB / 0.8167 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009706/0.00829, allocations: 443.9 kB / 0.8171 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.008295, allocations: 0 / 0.8171 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.994e-06/0.008297, allocations: 0 / 0.8171 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.008303, allocations: 0.5312 kB / 0.8171 GB, free: 12.21 MB / 0.7761 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.000915/0.009218, allocations: 0.8264 MB / 0.8179 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.009266, allocations: 12.02 kB / 0.8179 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.056e-05/0.009346, allocations: 57.52 kB / 0.818 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.009604, allocations: 236.6 kB / 0.8182 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.009625, allocations: 17.19 kB / 0.8182 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.009647, allocations: 21.73 kB / 0.8182 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.009995, allocations: 281.3 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-06/0.01, allocations: 192 / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.01002, allocations: 9.531 kB / 0.8185 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.01003, allocations: 7.938 kB / 0.8185 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.01017, allocations: 173.4 kB / 0.8187 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006999/0.01087, allocations: 0.5135 MB / 0.8192 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.01112, allocations: 201.2 kB / 0.8194 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.01123, allocations: 165.6 kB / 0.8195 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.01125, allocations: 4 kB / 0.8195 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.01127, allocations: 46.59 kB / 0.8196 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.01128, allocations: 0 / 0.8196 GB, free: 9.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.0004713/0.01175, allocations: 0.5437 MB / 0.8201 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.0118, allocations: 132.5 kB / 0.8202 GB, free: 8.664 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.01205, allocations: 366.8 kB / 0.8206 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.01208, allocations: 25.7 kB / 0.8206 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.01219, allocations: 228.1 kB / 0.8208 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.01223, allocations: 51.56 kB / 0.8209 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.41e-05/0.0123, allocations: 52.91 kB / 0.8209 GB, free: 7.926 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.01247, allocations: 0.5196 MB / 0.8214 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.01265, allocations: 254.2 kB / 0.8217 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.01278, allocations: 250.2 kB / 0.8219 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.01303, allocations: 439.8 kB / 0.8223 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01304, allocations: 0 / 0.8223 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004148/0.01345, allocations: 0.6072 MB / 0.8229 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.01355, allocations: 189.4 kB / 0.8231 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01356, allocations: 0 / 0.8231 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.01357, allocations: 0 / 0.8231 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.01366, allocations: 19.98 kB / 0.8231 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.01366, allocations: 0 / 0.8231 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.005e-05/0.01375, allocations: 31.88 kB / 0.8232 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.01377, allocations: 4 kB / 0.8232 GB, free: 5.383 MB / 0.7761 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 0.0001489/0.01392, allocations: 258.1 kB / 0.8234 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.54e-05/0.01396, allocations: 41.09 kB / 0.8235 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.014, allocations: 25.89 kB / 0.8235 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.01401, allocations: 0 / 0.8235 GB, free: 5.039 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01401, allocations: 4 kB / 0.8235 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.01401, allocations: 1.094 kB / 0.8235 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.01423, allocations: 209.1 kB / 0.8237 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01423, allocations: 0.6562 kB / 0.8237 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.01429, allocations: 19.98 kB / 0.8237 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.0143, allocations: 2.344 kB / 0.8237 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000344/0.01464, allocations: 7.984 kB / 0.8237 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01464, allocations: 0 / 0.8237 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.01465, allocations: 11.81 kB / 0.8237 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.01501, allocations: 0.5546 MB / 0.8243 GB, free: 4.156 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.01505, allocations: 31.75 kB / 0.8243 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.01507, allocations: 15.03 kB / 0.8243 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.01515, allocations: 11.98 kB / 0.8243 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.01523, allocations: 31.91 kB / 0.8244 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.01524, allocations: 4 kB / 0.8244 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001185/0.01536, allocations: 230.9 kB / 0.8246 GB, free: 3.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01536, allocations: 0 / 0.8246 GB, free: 3.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003325/0.01569, allocations: 111.8 kB / 0.8247 GB, free: 3.73 MB / 0.7761 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.0002647/0.01596, allocations: 171.9 kB / 0.8248 GB, free: 3.551 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004607/0.01642, allocations: 0.7895 MB / 0.8256 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.01642, allocations: 0 / 0.8256 GB, free: 2.629 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.01663, allocations: 362.9 kB / 0.826 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.01697, allocations: 67.95 kB / 0.826 GB, free: 2.152 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009192/0.01789, allocations: 0.6317 MB / 0.8266 GB, free: 1.477 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.41e-05/0.01795, allocations: 104.3 kB / 0.8267 GB, free: 1.355 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.374e-05/0.01802, allocations: 15.7 kB / 0.8268 GB, free: 1.344 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.01821, allocations: 155.2 kB / 0.8269 GB, free: 1.191 MB / 0.7761 GB Notification: Performance of SimCode: time 9.72e-07/0.01821, allocations: 3.938 kB / 0.8269 GB, free: 1.188 MB / 0.7761 GB Notification: Performance of Templates: time 0.01019/0.0284, allocations: 6.947 MB / 0.8337 GB, free: 10.37 MB / 0.7917 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: 5.186197096947581]