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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 104.1 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 189.8 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 437.1 MB / 0.711 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 68.72 kB / 0.8699 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3292, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003812/0.3331, allocations: 2.098 MB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002036/0.3351, allocations: 1.169 MB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.3352, allocations: 4 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.3357, allocations: 115.3 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.3358, allocations: 51.52 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.3365, allocations: 256.6 kB / 1.022 GB, free: 6.945 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.337, allocations: 327.2 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001997/0.3372, allocations: 91.28 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.3373, allocations: 103.7 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.3375, allocations: 131.4 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.3376, allocations: 28 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.338, allocations: 227.7 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.3381, allocations: 95.73 kB / 1.023 GB, free: 5.957 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.3383, allocations: 151.2 kB / 1.023 GB, free: 5.809 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006241/0.3389, allocations: 0.5376 MB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.3389, allocations: 3.984 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3389, allocations: 0 / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.3389, allocations: 0 / 1.023 GB, free: 5.266 MB / 0.795 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.001247/0.3402, allocations: 0.8087 MB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3402, allocations: 12.88 kB / 1.024 GB, free: 4.359 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.362e-05/0.3403, allocations: 36.56 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.3407, allocations: 312.5 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.026e-05/0.3408, allocations: 12.66 kB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.3408, allocations: 24.3 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006286/0.3415, allocations: 295.2 kB / 1.025 GB, free: 3.652 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.3415, allocations: 3.984 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.3415, allocations: 7.984 kB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3415, allocations: 4 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006718/0.3422, allocations: 268.4 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.3432, allocations: 0.6832 MB / 1.026 GB, free: 2.641 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.3438, allocations: 226.6 kB / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004028/0.3442, allocations: 188.7 kB / 1.026 GB, free: 2.223 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.3443, allocations: 4 kB / 1.026 GB, free: 2.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.3443, allocations: 42.5 kB / 1.026 GB, free: 2.168 MB / 0.795 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.3443, allocations: 0 / 1.026 GB, free: 2.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=14): time 0.001411/0.3457, allocations: 0.6737 MB / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/0.3458, allocations: 136.5 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.3463, allocations: 388.4 kB / 1.027 GB, free: 0.918 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.3463, allocations: 29.7 kB / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.3464, allocations: 164.3 kB / 1.027 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.3465, allocations: 47.34 kB / 1.027 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/0.3466, allocations: 45.7 kB / 1.027 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3468, allocations: 346.8 kB / 1.028 GB, free: 280 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/0.3472, allocations: 247.7 kB / 1.028 GB, free: 32 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004659/0.3477, allocations: 239.8 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009982/0.3487, allocations: 0.6781 MB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3487, allocations: 4 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001139/0.3499, allocations: 0.7219 MB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001325/0.35, allocations: 186.2 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.35, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3501, allocations: 0 / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.3502, allocations: 27.97 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3502, allocations: 3.938 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.3505, allocations: 51.66 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.3505, allocations: 8 kB / 1.03 GB, free: 13.98 MB / 0.8106 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.000261/0.3508, allocations: 262.8 kB / 1.03 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.3509, allocations: 27.62 kB / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.955e-05/0.3509, allocations: 30.94 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3509, allocations: 0 / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3509, allocations: 0 / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3509, allocations: 0 / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.3514, allocations: 349.3 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3514, allocations: 0 / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.3516, allocations: 35.97 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3516, allocations: 3.938 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.3516, allocations: 4 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3516, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3516, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.3527, allocations: 0.6327 MB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3528, allocations: 108.7 kB / 1.031 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.633e-05/0.3529, allocations: 4 kB / 1.031 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.3531, allocations: 31.95 kB / 1.031 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.3532, allocations: 23.97 kB / 1.031 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.3533, allocations: 8 kB / 1.031 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003211/0.3536, allocations: 279 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3536, allocations: 0 / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004586/0.3541, allocations: 103.9 kB / 1.032 GB, free: 11.98 MB / 0.8106 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.0003695/0.3544, allocations: 155.2 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.3558, allocations: 0.8438 MB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3558, allocations: 3.938 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005635/0.3564, allocations: 382 kB / 1.033 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.3569, allocations: 77.14 kB / 1.033 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.3581, allocations: 0.6766 MB / 1.034 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.3586, allocations: 0.7869 MB / 1.035 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.058e-05/0.3587, allocations: 23.44 kB / 1.035 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3587, allocations: 0 / 1.035 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of Templates: time 0.008043/0.3667, allocations: 4.944 MB / 1.039 GB, free: 3.957 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches