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.002014/0.002014, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002135/0.002135, allocations: 157.7 kB / 23.55 MB, free: 0.875 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.624/1.624, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 3.118/3.118, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] 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 1.783e-06/1.783e-06, allocations: 0 / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.798e-05/3.976e-05, allocations: 9.641 kB / 0.8108 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003986/0.004026, allocations: 2.088 MB / 0.8129 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002412/0.006438, allocations: 1.171 MB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.006577, allocations: 4.781 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.007073, allocations: 105 kB / 0.8141 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.0072, allocations: 50.11 kB / 0.8142 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000827/0.008027, allocations: 261.2 kB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004203/0.008447, allocations: 311.1 kB / 0.8147 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.00862, allocations: 63.5 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.008834, allocations: 152.9 kB / 0.8149 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.009014, allocations: 103.7 kB / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.921e-05/0.009073, allocations: 32 kB / 0.8151 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.009529, allocations: 240.2 kB / 0.8153 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.009666, allocations: 97.5 kB / 0.8154 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.009801, allocations: 91.75 kB / 0.8155 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008689/0.01067, allocations: 0.6192 MB / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01067, allocations: 0 / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.813e-06/0.01068, allocations: 0 / 0.8161 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.01068, allocations: 2.562 kB / 0.8161 GB, free: 12.7 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.001295/0.01198, allocations: 0.8483 MB / 0.8169 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.01202, allocations: 12.03 kB / 0.8169 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.01214, allocations: 48.7 kB / 0.817 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.01257, allocations: 253.6 kB / 0.8172 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.0126, allocations: 12.66 kB / 0.8172 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.01263, allocations: 16.91 kB / 0.8172 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000623/0.01326, allocations: 359.8 kB / 0.8176 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.01327, allocations: 192 / 0.8176 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.01329, allocations: 8.375 kB / 0.8176 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.0133, allocations: 7.938 kB / 0.8176 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005851/0.01389, allocations: 314.4 kB / 0.8179 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.01504, allocations: 0.6524 MB / 0.8185 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005893/0.01563, allocations: 309 kB / 0.8188 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/0.01603, allocations: 262.7 kB / 0.8191 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.01605, allocations: 0 / 0.8191 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.01609, allocations: 45.33 kB / 0.8191 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.01609, allocations: 0.6562 kB / 0.8191 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of matching and sorting (n=14): time 0.001674/0.01777, allocations: 0.7984 MB / 0.8199 GB, free: 8.496 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.01788, allocations: 144.5 kB / 0.82 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005035/0.01838, allocations: 410.3 kB / 0.8204 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.01842, allocations: 29.7 kB / 0.8205 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.01863, allocations: 241.1 kB / 0.8207 GB, free: 7.629 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/0.01869, allocations: 43.64 kB / 0.8207 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.01882, allocations: 63.36 kB / 0.8208 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003405/0.01916, allocations: 0.5352 MB / 0.8213 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005033/0.01966, allocations: 358.6 kB / 0.8217 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004782/0.02014, allocations: 359.2 kB / 0.822 GB, free: 6.195 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00091/0.02105, allocations: 0.6354 MB / 0.8226 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.02105, allocations: 0 / 0.8226 GB, free: 5.504 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001165/0.02222, allocations: 0.8198 MB / 0.8234 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.02238, allocations: 182.2 kB / 0.8236 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.02239, allocations: 0 / 0.8236 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.02241, allocations: 5.453 kB / 0.8236 GB, free: 4.387 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.02255, allocations: 19.92 kB / 0.8236 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.02256, allocations: 4 kB / 0.8236 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.02272, allocations: 28.53 kB / 0.8236 GB, free: 4.336 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.041e-05/0.02275, allocations: 12.66 kB / 0.8237 GB, free: 4.324 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.0002669/0.02302, allocations: 265.4 kB / 0.8239 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.309e-05/0.0231, allocations: 43.69 kB / 0.8239 GB, free: 3.996 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.795e-05/0.02316, allocations: 25.95 kB / 0.824 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.02316, allocations: 0 / 0.824 GB, free: 3.973 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.02317, allocations: 4 kB / 0.824 GB, free: 3.969 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.02318, allocations: 3.984 kB / 0.824 GB, free: 3.965 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.02361, allocations: 300.5 kB / 0.8243 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.02362, allocations: 0 / 0.8243 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.02373, allocations: 23.98 kB / 0.8243 GB, free: 3.613 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.02374, allocations: 5.906 kB / 0.8243 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.02376, allocations: 7.938 kB / 0.8243 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.02377, allocations: 4 kB / 0.8243 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02377, allocations: 0 / 0.8243 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.02482, allocations: 0.7254 MB / 0.825 GB, free: 2.816 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.02489, allocations: 39.69 kB / 0.8251 GB, free: 2.777 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.02494, allocations: 16.98 kB / 0.8251 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.0251, allocations: 11.98 kB / 0.8251 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.02524, allocations: 33.09 kB / 0.8251 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.609e-05/0.02526, allocations: 4 kB / 0.8251 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002889/0.02555, allocations: 259 kB / 0.8254 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02555, allocations: 2.469 kB / 0.8254 GB, free: 2.465 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004411/0.02599, allocations: 107.8 kB / 0.8255 GB, free: 2.359 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.0003629/0.02636, allocations: 171.1 kB / 0.8256 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.02794, allocations: 1.013 MB / 0.8266 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02794, allocations: 0 / 0.8266 GB, free: 1.035 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005856/0.02853, allocations: 458.9 kB / 0.8271 GB, free: 0.5273 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004788/0.029, allocations: 74.48 kB / 0.8271 GB, free: 464 kB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.03029, allocations: 0.7032 MB / 0.8278 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.03049, allocations: 177.8 kB / 0.828 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 8.03e-05/0.03057, allocations: 17.62 kB / 0.828 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.03064, allocations: 24.5 kB / 0.828 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of SimCode: time 9.42e-07/0.03064, allocations: 0 / 0.828 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of Templates: time 0.01315/0.04379, allocations: 6.289 MB / 0.8342 GB, free: 9.305 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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: 8.688966449000873]