Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.0019/0.0019, allocations: 118 kB / 17.13 MB, free: 5.941 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.002332/0.002332, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.487/1.487, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.636/2.636, allocations: 443.5 MB / 0.7293 GB, free: 14.71 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 75.88 kB / 1.057 GB, free: 2.148 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3393, allocations: 160.7 MB / 1.214 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003665/0.3429, allocations: 2.111 MB / 1.216 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.345, allocations: 1.185 MB / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-05/0.345, allocations: 0 / 1.217 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004283/0.3455, allocations: 111.3 kB / 1.217 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.3456, allocations: 59.52 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007626/0.3464, allocations: 254.1 kB / 1.218 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003883/0.3467, allocations: 299.3 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.3469, allocations: 71.05 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.347, allocations: 111.6 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.3472, allocations: 131.5 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.3473, allocations: 32 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.3477, allocations: 231.7 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.3478, allocations: 95.67 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.3479, allocations: 151.2 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006691/0.3486, allocations: 0.5527 MB / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3486, allocations: 0 / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3486, allocations: 0 / 1.219 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.3486, allocations: 0 / 1.219 GB, free: 11.72 MB / 0.9669 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.001306/0.3499, allocations: 0.82 MB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.35, allocations: 11.98 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.395e-05/0.3501, allocations: 36.7 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.3505, allocations: 336.5 kB / 1.22 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.3505, allocations: 12.66 kB / 1.22 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.3506, allocations: 16.38 kB / 1.221 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006336/0.3512, allocations: 295.2 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3512, allocations: 0 / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.3512, allocations: 8 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.3513, allocations: 4 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006779/0.3519, allocations: 272.4 kB / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.353, allocations: 0.6681 MB / 1.222 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005831/0.3536, allocations: 222.6 kB / 1.222 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000415/0.354, allocations: 184.7 kB / 1.222 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.354, allocations: 4 kB / 1.222 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.354, allocations: 34.56 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.354, allocations: 0 / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.001461/0.3555, allocations: 0.6664 MB / 1.223 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.3556, allocations: 144.6 kB / 1.223 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000454/0.356, allocations: 388.3 kB / 1.223 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.3561, allocations: 29.7 kB / 1.223 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.3562, allocations: 164.4 kB / 1.223 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.3563, allocations: 39.66 kB / 1.224 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.884e-05/0.3564, allocations: 49.7 kB / 1.224 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3565, allocations: 346.7 kB / 1.224 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004711/0.357, allocations: 243.8 kB / 1.224 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.3575, allocations: 239.7 kB / 1.224 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.3585, allocations: 0.6849 MB / 1.225 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3585, allocations: 0 / 1.225 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001159/0.3596, allocations: 0.7204 MB / 1.226 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001587/0.3598, allocations: 186.2 kB / 1.226 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.3598, allocations: 4 kB / 1.226 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.3598, allocations: 3.938 kB / 1.226 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.36, allocations: 31.91 kB / 1.226 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.36, allocations: 0 / 1.226 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.3602, allocations: 51.73 kB / 1.226 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.3603, allocations: 8 kB / 1.226 GB, free: 4.445 MB / 0.9669 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.000265/0.3605, allocations: 258.9 kB / 1.226 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.3606, allocations: 35.8 kB / 1.226 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.3607, allocations: 26.94 kB / 1.226 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.3607, allocations: 4 kB / 1.226 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3607, allocations: 0 / 1.226 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3607, allocations: 0 / 1.226 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004142/0.3611, allocations: 345.3 kB / 1.227 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3611, allocations: 7.984 kB / 1.227 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.3613, allocations: 31.97 kB / 1.227 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3613, allocations: 4 kB / 1.227 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.3613, allocations: 4 kB / 1.227 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3613, allocations: 3.938 kB / 1.227 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3613, allocations: 3.984 kB / 1.227 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.3623, allocations: 0.6286 MB / 1.227 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.947e-05/0.3624, allocations: 116.8 kB / 1.227 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.3625, allocations: 4 kB / 1.227 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.3627, allocations: 27.97 kB / 1.227 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.3628, allocations: 27.95 kB / 1.227 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3628, allocations: 4 kB / 1.227 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003156/0.3632, allocations: 279 kB / 1.228 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3632, allocations: 0 / 1.228 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004454/0.3636, allocations: 103.9 kB / 1.228 GB, free: 2.422 MB / 0.9669 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.0003229/0.3639, allocations: 163.1 kB / 1.228 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.3652, allocations: 0.8086 MB / 1.229 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3652, allocations: 4 kB / 1.229 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.3657, allocations: 370 kB / 1.229 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.3662, allocations: 73.66 kB / 1.229 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.3674, allocations: 0.6992 MB / 1.23 GB, free: 172 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004532/0.3678, allocations: 0.787 MB / 1.231 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/0.3679, allocations: 23.44 kB / 1.231 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of SimCode: time 4.51e-07/0.3679, allocations: 0 / 1.231 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of Templates: time 0.008853/0.3768, allocations: 5.061 MB / 1.236 GB, free: 10.31 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.709866069024429]