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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 111.8 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.999/2.999, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002009/0.002009, allocations: 67.89 kB / 1.103 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.091, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003459/1.095, allocations: 2.104 MB / 1.265 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00195/1.097, allocations: 1.18 MB / 1.266 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/1.097, allocations: 7.094 kB / 1.266 GB, free: 5.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004546/1.097, allocations: 116 kB / 1.266 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/1.097, allocations: 42.33 kB / 1.266 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008434/1.098, allocations: 260.6 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004207/1.099, allocations: 320.1 kB / 1.267 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/1.099, allocations: 87.28 kB / 1.267 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/1.099, allocations: 120.7 kB / 1.267 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/1.099, allocations: 124.2 kB / 1.267 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.286e-05/1.099, allocations: 29.59 kB / 1.267 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004846/1.1, allocations: 228.4 kB / 1.267 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/1.1, allocations: 89.59 kB / 1.267 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/1.1, allocations: 149.5 kB / 1.267 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007907/1.101, allocations: 0.5606 MB / 1.268 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/1.101, allocations: 1.453 kB / 1.268 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.092e-06/1.101, allocations: 0 / 1.268 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.101, allocations: 0 / 1.268 GB, free: 4.828 MB / 0.9981 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.001166/1.102, allocations: 0.8199 MB / 1.269 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.102, allocations: 13.44 kB / 1.269 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.618e-05/1.102, allocations: 36.98 kB / 1.269 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/1.103, allocations: 325.7 kB / 1.269 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/1.103, allocations: 12.66 kB / 1.269 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/1.103, allocations: 17.06 kB / 1.269 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006433/1.103, allocations: 300.5 kB / 1.269 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/1.103, allocations: 0.7969 kB / 1.269 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/1.103, allocations: 7.125 kB / 1.269 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/1.103, allocations: 7.781 kB / 1.269 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007165/1.104, allocations: 272.3 kB / 1.27 GB, free: 3.582 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000953/1.105, allocations: 0.6757 MB / 1.27 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/1.106, allocations: 231.6 kB / 1.27 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000417/1.106, allocations: 186.5 kB / 1.271 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/1.106, allocations: 5.812 kB / 1.271 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/1.106, allocations: 36.12 kB / 1.271 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/1.106, allocations: 0 / 1.271 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.001451/1.108, allocations: 0.6701 MB / 1.271 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/1.108, allocations: 133.9 kB / 1.271 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/1.108, allocations: 381.6 kB / 1.272 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/1.108, allocations: 31.61 kB / 1.272 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.646e-05/1.108, allocations: 171.7 kB / 1.272 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/1.108, allocations: 45.03 kB / 1.272 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/1.108, allocations: 47.95 kB / 1.272 GB, free: 2.066 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.369e-05/1.109, allocations: 347.8 kB / 1.272 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/1.109, allocations: 237.7 kB / 1.273 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004806/1.109, allocations: 240.1 kB / 1.273 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009352/1.11, allocations: 0.6807 MB / 1.274 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.11, allocations: 0 / 1.274 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001116/1.112, allocations: 0.7304 MB / 1.274 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.304e-05/1.112, allocations: 181.1 kB / 1.274 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/1.112, allocations: 7.938 kB / 1.274 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.112, allocations: 1.062 kB / 1.274 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/1.112, allocations: 37.88 kB / 1.275 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/1.112, allocations: 1.094 kB / 1.275 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/1.112, allocations: 39.34 kB / 1.275 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.955e-05/1.112, allocations: 7.062 kB / 1.275 GB, free: 0.5898 MB / 0.9981 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.0002038/1.112, allocations: 263.3 kB / 1.275 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/1.112, allocations: 30 kB / 1.275 GB, free: 340 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.22e-05/1.113, allocations: 32.34 kB / 1.275 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/1.113, allocations: 1.406 kB / 1.275 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.113, allocations: 1.406 kB / 1.275 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/1.113, allocations: 0.75 kB / 1.275 GB, free: 316 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003336/1.113, allocations: 356 kB / 1.275 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.113, allocations: 0 / 1.275 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/1.113, allocations: 27.08 kB / 1.275 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.113, allocations: 7.938 kB / 1.275 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/1.113, allocations: 4.094 kB / 1.275 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.113, allocations: 2.781 kB / 1.275 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.113, allocations: 0 / 1.275 GB, free: 36 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/1.114, allocations: 0.6205 MB / 1.276 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/1.114, allocations: 108.2 kB / 1.276 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/1.114, allocations: 11.84 kB / 1.276 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/1.115, allocations: 27.84 kB / 1.276 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/1.115, allocations: 26.55 kB / 1.276 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/1.115, allocations: 13.5 kB / 1.276 GB, free: 15.54 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003463/1.115, allocations: 272 kB / 1.276 GB, free: 15.4 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.615e-06/1.115, allocations: 4 kB / 1.276 GB, free: 15.4 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005583/1.116, allocations: 111.7 kB / 1.276 GB, free: 15.38 MB / 1.014 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.0003469/1.116, allocations: 161.8 kB / 1.277 GB, free: 15.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001385/1.117, allocations: 0.8309 MB / 1.277 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.117, allocations: 0 / 1.277 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005993/1.118, allocations: 384.6 kB / 1.278 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/1.119, allocations: 64.05 kB / 1.278 GB, free: 14.48 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/1.12, allocations: 0.6793 MB / 1.278 GB, free: 14.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/1.12, allocations: 0.784 MB / 1.279 GB, free: 13.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.756e-05/1.12, allocations: 21.75 kB / 1.279 GB, free: 13.37 MB / 1.014 GB Notification: Performance of SimCode: time 4.51e-07/1.12, allocations: 3.938 kB / 1.279 GB, free: 13.37 MB / 1.014 GB Notification: Performance of Templates: time 0.01017/1.131, allocations: 4.972 MB / 1.284 GB, free: 12.87 MB / 1.014 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.49742584489286]