Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001033/0.001033, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001805/0.001805, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 0.9395/0.9395, allocations: 177.2 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.376/2.376, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.75e-05/1.864e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00243/0.002449, allocations: 2.154 MB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001347/0.003796, allocations: 1.195 MB / 0.8419 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.003877, allocations: 7.938 kB / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.004204, allocations: 103.4 kB / 0.842 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.929e-05/0.004283, allocations: 59.45 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.00473, allocations: 235.4 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.00498, allocations: 303.2 kB / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.005093, allocations: 70.42 kB / 0.8427 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.005218, allocations: 155.7 kB / 0.8428 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.005339, allocations: 103.7 kB / 0.8429 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.00537, allocations: 28 kB / 0.8429 GB, free: 9.715 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005397/0.005909, allocations: 271.6 kB / 0.8432 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.689e-05/0.005986, allocations: 95.67 kB / 0.8433 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.815e-05/0.006054, allocations: 95.75 kB / 0.8434 GB, free: 9.262 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.00642, allocations: 438.7 kB / 0.8438 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006422, allocations: 0 / 0.8438 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.031e-06/0.006423, allocations: 0 / 0.8438 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.006427, allocations: 0 / 0.8438 GB, free: 8.832 MB / 0.8073 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.0005829/0.00701, allocations: 0.6999 MB / 0.8445 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.007038, allocations: 12.62 kB / 0.8445 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.007088, allocations: 36.91 kB / 0.8445 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.00728, allocations: 205.8 kB / 0.8447 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.007294, allocations: 12.66 kB / 0.8447 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.007313, allocations: 16.38 kB / 0.8448 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.00757, allocations: 289.2 kB / 0.845 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.007578, allocations: 0 / 0.845 GB, free: 7.457 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.007591, allocations: 8 kB / 0.845 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.007596, allocations: 0 / 0.845 GB, free: 7.449 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.007717, allocations: 178.2 kB / 0.8452 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.00815, allocations: 363.4 kB / 0.8456 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.008341, allocations: 191.6 kB / 0.8457 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.008442, allocations: 169.9 kB / 0.8459 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.058e-05/0.008453, allocations: 3.984 kB / 0.8459 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.008476, allocations: 42.61 kB / 0.8459 GB, free: 6.43 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.008477, allocations: 3.938 kB / 0.846 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0003659/0.008843, allocations: 0.512 MB / 0.8465 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.008887, allocations: 144.5 kB / 0.8466 GB, free: 5.684 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.009043, allocations: 266.9 kB / 0.8468 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.009058, allocations: 25.7 kB / 0.8469 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.00911, allocations: 141.2 kB / 0.847 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.00914, allocations: 47.58 kB / 0.847 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.009195, allocations: 49.67 kB / 0.8471 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.707e-05/0.009272, allocations: 334.8 kB / 0.8474 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.009407, allocations: 257 kB / 0.8477 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.009531, allocations: 252.5 kB / 0.8479 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.009764, allocations: 434.8 kB / 0.8483 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.009766, allocations: 4 kB / 0.8483 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003036/0.01007, allocations: 0.5518 MB / 0.8489 GB, free: 3.113 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.006e-05/0.01014, allocations: 182.2 kB / 0.849 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.01014, allocations: 0 / 0.849 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.01016, allocations: 0 / 0.849 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.01023, allocations: 23.98 kB / 0.8491 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.01023, allocations: 3.984 kB / 0.8491 GB, free: 2.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.057e-05/0.0103, allocations: 27.83 kB / 0.8491 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.01032, allocations: 15.98 kB / 0.8491 GB, free: 2.828 MB / 0.8073 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.000103/0.01042, allocations: 209.7 kB / 0.8493 GB, free: 2.594 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.01046, allocations: 31.91 kB / 0.8493 GB, free: 2.562 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.667e-05/0.01048, allocations: 25.95 kB / 0.8494 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.01049, allocations: 0 / 0.8494 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01049, allocations: 0 / 0.8494 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.01049, allocations: 0 / 0.8494 GB, free: 2.539 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.01064, allocations: 161.7 kB / 0.8495 GB, free: 2.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01064, allocations: 3.938 kB / 0.8495 GB, free: 2.359 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.0107, allocations: 19.98 kB / 0.8495 GB, free: 2.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.0107, allocations: 0 / 0.8495 GB, free: 2.34 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.01071, allocations: 15.94 kB / 0.8495 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.01071, allocations: 0 / 0.8495 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01071, allocations: 0 / 0.8495 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005089/0.01122, allocations: 477.6 kB / 0.85 GB, free: 1.805 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.01125, allocations: 39.72 kB / 0.85 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.01127, allocations: 7.938 kB / 0.85 GB, free: 1.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.01135, allocations: 19.98 kB / 0.8501 GB, free: 1.738 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.01142, allocations: 23.97 kB / 0.8501 GB, free: 1.715 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.01143, allocations: 4 kB / 0.8501 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.299e-05/0.0115, allocations: 96.64 kB / 0.8502 GB, free: 1.613 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.0115, allocations: 4 kB / 0.8502 GB, free: 1.609 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002336/0.01173, allocations: 107.8 kB / 0.8503 GB, free: 1.504 MB / 0.8073 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.0001934/0.01193, allocations: 164.2 kB / 0.8504 GB, free: 1.332 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.01232, allocations: 0.7778 MB / 0.8512 GB, free: 432 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.01233, allocations: 4 kB / 0.8512 GB, free: 428 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.01249, allocations: 358.8 kB / 0.8516 GB, free: 8 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.01275, allocations: 87.23 kB / 0.8516 GB, free: 15.92 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007201/0.01347, allocations: 0.6228 MB / 0.8522 GB, free: 15.25 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.903e-05/0.01353, allocations: 107.9 kB / 0.8523 GB, free: 15.13 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 5.135e-05/0.01358, allocations: 13.64 kB / 0.8524 GB, free: 15.11 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.01376, allocations: 127.3 kB / 0.8525 GB, free: 14.99 MB / 0.823 GB Notification: Performance of SimCode: time 9.01e-07/0.01376, allocations: 0 / 0.8525 GB, free: 14.99 MB / 0.823 GB Notification: Performance of Templates: time 0.007801/0.02157, allocations: 6.715 MB / 0.859 GB, free: 8.422 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.141942929010838]