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.001382/0.001382, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.00155/0.00155, allocations: 159.5 kB / 23.01 MB, free: 4.602 MB / 14.72 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.476/1.476, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.762/2.762, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 71.83 kB / 0.982 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8658/0.8682, allocations: 176.1 MB / 1.154 GB, free: 3.074 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003861/0.8721, allocations: 2.044 MB / 1.156 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00226/0.8744, allocations: 1.138 MB / 1.157 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.8745, allocations: 3.875 kB / 1.157 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004582/0.875, allocations: 106.6 kB / 1.157 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.8751, allocations: 54.53 kB / 1.157 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.876, allocations: 266.1 kB / 1.157 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.8765, allocations: 300.4 kB / 1.158 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.8766, allocations: 59.91 kB / 1.158 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.8768, allocations: 119 kB / 1.158 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.877, allocations: 116.8 kB / 1.158 GB, free: 428 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.877, allocations: 29.84 kB / 1.158 GB, free: 428 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004653/0.8775, allocations: 239.8 kB / 1.158 GB, free: 308 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.8776, allocations: 86.75 kB / 1.158 GB, free: 252 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.8778, allocations: 121.6 kB / 1.158 GB, free: 164 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007454/0.8785, allocations: 0.5594 MB / 1.159 GB, free: 15.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.8785, allocations: 5.344 kB / 1.159 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.737e-06/0.8785, allocations: 3.984 kB / 1.159 GB, free: 15.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.8785, allocations: 0 / 1.159 GB, free: 15.75 MB / 1.029 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.001337/0.8799, allocations: 0.7449 MB / 1.16 GB, free: 15.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.8799, allocations: 8.844 kB / 1.16 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.59e-05/0.88, allocations: 33.38 kB / 1.16 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.8805, allocations: 269.1 kB / 1.16 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.8805, allocations: 16.91 kB / 1.16 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.8805, allocations: 17.22 kB / 1.16 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007398/0.8813, allocations: 386.3 kB / 1.16 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.8813, allocations: 3.984 kB / 1.16 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.8813, allocations: 6.5 kB / 1.16 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.8813, allocations: 3.594 kB / 1.16 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000747/0.882, allocations: 358.9 kB / 1.161 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009865/0.883, allocations: 0.5362 MB / 1.161 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006313/0.8837, allocations: 312.2 kB / 1.162 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004779/0.8841, allocations: 279.3 kB / 1.162 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.8842, allocations: 1.062 kB / 1.162 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.8842, allocations: 41.02 kB / 1.162 GB, free: 13.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.8842, allocations: 0 / 1.162 GB, free: 13.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.001545/0.8857, allocations: 0.843 MB / 1.163 GB, free: 12.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.45e-05/0.8858, allocations: 136.8 kB / 1.163 GB, free: 12.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.8862, allocations: 353.3 kB / 1.163 GB, free: 12.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.8863, allocations: 31.75 kB / 1.163 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.8864, allocations: 168.2 kB / 1.163 GB, free: 12.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.39e-05/0.8865, allocations: 50.5 kB / 1.163 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.502e-05/0.8866, allocations: 47.17 kB / 1.164 GB, free: 12.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.8867, allocations: 334.7 kB / 1.164 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006052/0.8873, allocations: 427.5 kB / 1.164 GB, free: 11.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/0.8879, allocations: 427.7 kB / 1.165 GB, free: 11.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.889, allocations: 0.6917 MB / 1.165 GB, free: 10.74 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.889, allocations: 3.938 kB / 1.165 GB, free: 10.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001287/0.8902, allocations: 0.9128 MB / 1.166 GB, free: 10.08 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.8904, allocations: 180.1 kB / 1.166 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.8904, allocations: 1.281 kB / 1.166 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.8904, allocations: 4 kB / 1.166 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.8906, allocations: 35.56 kB / 1.166 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.8906, allocations: 1 kB / 1.166 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.8908, allocations: 40 kB / 1.166 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.8908, allocations: 10.78 kB / 1.166 GB, free: 9.836 MB / 1.029 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.0002433/0.8911, allocations: 255.6 kB / 1.167 GB, free: 9.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.535e-05/0.8911, allocations: 25.98 kB / 1.167 GB, free: 9.578 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.8912, allocations: 35.05 kB / 1.167 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.8912, allocations: 1.062 kB / 1.167 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.8912, allocations: 0 / 1.167 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8912, allocations: 5 kB / 1.167 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.8915, allocations: 245.3 kB / 1.167 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.8915, allocations: 1.406 kB / 1.167 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.8917, allocations: 31.06 kB / 1.167 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.8917, allocations: 1.25 kB / 1.167 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.8917, allocations: 7.562 kB / 1.167 GB, free: 9.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.8917, allocations: 5.125 kB / 1.167 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8917, allocations: 0 / 1.167 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.8928, allocations: 0.7085 MB / 1.168 GB, free: 8.785 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.8929, allocations: 29.38 kB / 1.168 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.893, allocations: 3.906 kB / 1.168 GB, free: 8.766 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.8932, allocations: 32.22 kB / 1.168 GB, free: 8.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.8933, allocations: 25.38 kB / 1.168 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.8933, allocations: 8.562 kB / 1.168 GB, free: 8.73 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002895/0.8936, allocations: 256.8 kB / 1.168 GB, free: 8.566 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.8936, allocations: 0 / 1.168 GB, free: 8.566 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004533/0.8941, allocations: 113.2 kB / 1.168 GB, free: 8.543 MB / 1.029 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.0002874/0.8944, allocations: 155.1 kB / 1.168 GB, free: 8.438 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.8958, allocations: 1.089 MB / 1.169 GB, free: 7.523 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.8958, allocations: 0 / 1.169 GB, free: 7.523 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005939/0.8964, allocations: 457.6 kB / 1.17 GB, free: 7.141 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.8968, allocations: 70.86 kB / 1.17 GB, free: 7.105 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.898, allocations: 0.7418 MB / 1.171 GB, free: 6.582 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.8982, allocations: 179.9 kB / 1.171 GB, free: 6.449 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.947e-05/0.8983, allocations: 21.52 kB / 1.171 GB, free: 6.438 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.8983, allocations: 18.31 kB / 1.171 GB, free: 6.43 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.8983, allocations: 1.406 kB / 1.171 GB, free: 6.43 MB / 1.029 GB Notification: Performance of Templates: time 0.01192/0.9103, allocations: 6.265 MB / 1.177 GB, free: 3.297 MB / 1.029 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 400] 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/jenkins1/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.983017163933255]