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.001718/0.001718, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.002007/0.002007, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.512/1.512, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.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 3.273/3.273, allocations: 0.4899 GB / 0.7915 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 176] 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.002141/0.002141, allocations: 68.83 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.341, allocations: 176.1 MB / 1.321 GB, free: 2.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003793/0.3448, allocations: 2.13 MB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002261/0.347, allocations: 1.215 MB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.3472, allocations: 4 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004779/0.3477, allocations: 119.2 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.3479, allocations: 43.58 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000858/0.3487, allocations: 259.5 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004657/0.3492, allocations: 303.3 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.3494, allocations: 67.06 kB / 1.325 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001511/0.3495, allocations: 115.5 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.3497, allocations: 135.5 kB / 1.326 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.3498, allocations: 32 kB / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004142/0.3502, allocations: 227.7 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.3503, allocations: 95.67 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.3505, allocations: 151.2 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007417/0.3512, allocations: 0.5566 MB / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3512, allocations: 0 / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3512, allocations: 0 / 1.327 GB, free: 13.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.3512, allocations: 0 / 1.327 GB, free: 13.33 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.001427/0.3527, allocations: 0.8239 MB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.3527, allocations: 8.031 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.995e-05/0.3528, allocations: 36.75 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004738/0.3533, allocations: 324.5 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3533, allocations: 12.66 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.3533, allocations: 16.38 kB / 1.328 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.354, allocations: 299.2 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.354, allocations: 0 / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.3541, allocations: 4 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3541, allocations: 4 kB / 1.328 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007398/0.3548, allocations: 276.4 kB / 1.328 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.356, allocations: 0.6723 MB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000621/0.3566, allocations: 222.6 kB / 1.329 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/0.357, allocations: 188.7 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.357, allocations: 0 / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.3571, allocations: 30.56 kB / 1.329 GB, free: 10.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.3571, allocations: 4 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=14): time 0.001579/0.3586, allocations: 0.6694 MB / 1.33 GB, free: 9.543 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.3588, allocations: 136.5 kB / 1.33 GB, free: 9.379 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004791/0.3592, allocations: 384.5 kB / 1.331 GB, free: 8.996 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.3593, allocations: 29.7 kB / 1.331 GB, free: 8.961 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/0.3594, allocations: 176.3 kB / 1.331 GB, free: 8.785 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.259e-05/0.3595, allocations: 43.64 kB / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.3596, allocations: 45.7 kB / 1.331 GB, free: 8.691 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3598, allocations: 342.9 kB / 1.331 GB, free: 8.348 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.3603, allocations: 247.8 kB / 1.331 GB, free: 8.105 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/0.3608, allocations: 237.9 kB / 1.332 GB, free: 7.875 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.3619, allocations: 0.6771 MB / 1.332 GB, free: 7.141 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3619, allocations: 0 / 1.332 GB, free: 7.141 MB / 1.029 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001288/0.3632, allocations: 0.7259 MB / 1.333 GB, free: 6.371 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.3633, allocations: 186.2 kB / 1.333 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3633, allocations: 0 / 1.333 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.3634, allocations: 7.875 kB / 1.333 GB, free: 6.145 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.3636, allocations: 31.97 kB / 1.333 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3636, allocations: 0 / 1.333 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.3638, allocations: 51.75 kB / 1.333 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.3638, allocations: 4 kB / 1.333 GB, free: 6.059 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.0002652/0.3641, allocations: 262.8 kB / 1.334 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.3642, allocations: 27.81 kB / 1.334 GB, free: 5.746 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.843e-05/0.3642, allocations: 34.94 kB / 1.334 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3642, allocations: 0 / 1.334 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3642, allocations: 0 / 1.334 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3643, allocations: 0 / 1.334 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004138/0.3647, allocations: 349.3 kB / 1.334 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3647, allocations: 0 / 1.334 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.3648, allocations: 31.91 kB / 1.334 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3648, allocations: 0 / 1.334 GB, free: 5.285 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.3649, allocations: 12 kB / 1.334 GB, free: 5.273 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3649, allocations: 4 kB / 1.334 GB, free: 5.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3649, allocations: 0 / 1.334 GB, free: 5.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.366, allocations: 0.6251 MB / 1.335 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.3661, allocations: 124.8 kB / 1.335 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.3662, allocations: 4 kB / 1.335 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.3664, allocations: 31.95 kB / 1.335 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.3665, allocations: 23.97 kB / 1.335 GB, free: 4.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.3665, allocations: 8 kB / 1.335 GB, free: 4.402 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003359/0.3669, allocations: 267 kB / 1.335 GB, free: 4.145 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3669, allocations: 0 / 1.335 GB, free: 4.145 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004909/0.3674, allocations: 107.9 kB / 1.335 GB, free: 4.039 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.0003394/0.3677, allocations: 163.1 kB / 1.335 GB, free: 3.871 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.369, allocations: 0.8087 MB / 1.336 GB, free: 2.988 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.369, allocations: 0 / 1.336 GB, free: 2.988 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005799/0.3696, allocations: 374 kB / 1.336 GB, free: 2.586 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004632/0.3701, allocations: 77.7 kB / 1.336 GB, free: 2.512 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3713, allocations: 0.6545 MB / 1.337 GB, free: 1.828 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.3718, allocations: 0.787 MB / 1.338 GB, free: 1.016 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.502e-05/0.3718, allocations: 21.94 kB / 1.338 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.581e-05/0.3719, allocations: 19.44 kB / 1.338 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.3719, allocations: 0 / 1.338 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of Templates: time 0.01238/0.3843, allocations: 5.977 MB / 1.344 GB, free: 11.07 MB / 1.045 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=400 -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/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: 9.101190906018019]