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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001033/0.001033, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001358/0.001358, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.0003368, allocations: 15.94 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5488/0.5492, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002154/0.5514, allocations: 1.751 MB / 1.024 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.5531, allocations: 1.088 MB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.5532, allocations: 4 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.5535, allocations: 91.55 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.5536, allocations: 39.72 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005906/0.5542, allocations: 183.3 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.5545, allocations: 243.3 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.5547, allocations: 77.84 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.5548, allocations: 83.69 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.555, allocations: 99.53 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.555, allocations: 8 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.5553, allocations: 199.7 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.361e-05/0.5554, allocations: 71.75 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.241e-05/0.5555, allocations: 73.52 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.5559, allocations: 416.9 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5559, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5559, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.5559, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 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.001005/0.5569, allocations: 0.7699 MB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.557, allocations: 12.52 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.55e-05/0.5571, allocations: 35.53 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.5574, allocations: 315.3 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.5575, allocations: 16.28 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.5575, allocations: 20 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.5581, allocations: 302.9 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.5581, allocations: 4 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.5581, allocations: 12 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.5582, allocations: 7.984 kB / 1.028 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006578/0.5588, allocations: 296.3 kB / 1.028 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009479/0.5598, allocations: 0.6874 MB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000531/0.5603, allocations: 250.5 kB / 1.029 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003808/0.5607, allocations: 204.7 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.5607, allocations: 4 kB / 1.03 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.5608, allocations: 38.5 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.5608, allocations: 0 / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.00132/0.5621, allocations: 0.7131 MB / 1.03 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.5622, allocations: 136.5 kB / 1.03 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.5626, allocations: 380.4 kB / 1.031 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.5626, allocations: 33.69 kB / 1.031 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.5628, allocations: 164.3 kB / 1.031 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.5628, allocations: 35.45 kB / 1.031 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.5628, allocations: 8 kB / 1.031 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.5629, allocations: 342.8 kB / 1.031 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.5634, allocations: 259.7 kB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/0.5638, allocations: 257.5 kB / 1.032 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005093/0.5644, allocations: 418.1 kB / 1.032 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5644, allocations: 4 kB / 1.032 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001076/0.5655, allocations: 0.7593 MB / 1.033 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.853e-05/0.5656, allocations: 182.2 kB / 1.033 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5656, allocations: 0 / 1.033 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.5656, allocations: 0 / 1.033 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.5658, allocations: 43.91 kB / 1.033 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5658, allocations: 3.984 kB / 1.033 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002191/0.566, allocations: 63.66 kB / 1.033 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.833e-05/0.566, allocations: 8 kB / 1.033 GB, free: 4.516 MB / 0.7794 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.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.5663, allocations: 259 kB / 1.033 GB, free: 4.234 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-05/0.5663, allocations: 31.56 kB / 1.034 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.5664, allocations: 34.92 kB / 1.034 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5664, allocations: 0 / 1.034 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5664, allocations: 0 / 1.034 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5664, allocations: 0 / 1.034 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.5668, allocations: 349.3 kB / 1.034 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5668, allocations: 4 kB / 1.034 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.5669, allocations: 43.91 kB / 1.034 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.567, allocations: 0 / 1.034 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.567, allocations: 4 kB / 1.034 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.567, allocations: 0 / 1.034 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.567, allocations: 0 / 1.034 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009357/0.5679, allocations: 0.6562 MB / 1.035 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.441e-05/0.568, allocations: 108.7 kB / 1.035 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.5681, allocations: 4 kB / 1.035 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.5683, allocations: 47.95 kB / 1.035 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.5684, allocations: 23.97 kB / 1.035 GB, free: 2.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.5684, allocations: 4 kB / 1.035 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002756/0.5687, allocations: 271 kB / 1.035 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5687, allocations: 3.938 kB / 1.035 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004039/0.5691, allocations: 104 kB / 1.035 GB, free: 2.465 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002716/0.5694, allocations: 163.1 kB / 1.035 GB, free: 2.293 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.5706, allocations: 0.8672 MB / 1.036 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5706, allocations: 0 / 1.036 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004903/0.5711, allocations: 390 kB / 1.036 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.5715, allocations: 69.39 kB / 1.037 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009849/0.5725, allocations: 0.7103 MB / 1.037 GB, free: 128 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.5729, allocations: 0.7869 MB / 1.038 GB, free: 15.31 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.056e-05/0.573, allocations: 21.94 kB / 1.038 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.573, allocations: 23.42 kB / 1.038 GB, free: 15.27 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.573, allocations: 0 / 1.038 GB, free: 15.27 MB / 0.795 GB Notification: Performance of Templates: time 0.009239/0.5823, allocations: 5.273 MB / 1.043 GB, free: 10.06 MB / 0.795 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=480 -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/jenkins/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