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.001497/0.001497, allocations: 107.9 kB / 16.41 MB, free: 6.488 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.001634/0.001634, allocations: 183 kB / 17.34 MB, free: 5.766 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.15 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.413/2.413, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9218/0.9233, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003833/0.9271, allocations: 2.104 MB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002167/0.9293, allocations: 1.169 MB / 1.171 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.9296, allocations: 4 kB / 1.171 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005199/0.9301, allocations: 115.3 kB / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.9304, allocations: 47.58 kB / 1.171 GB, free: 432 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009132/0.9313, allocations: 261.1 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004813/0.9318, allocations: 319.3 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.932, allocations: 98.75 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.9322, allocations: 107.6 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.9324, allocations: 123.5 kB / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.9325, allocations: 32 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.9329, allocations: 235.7 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.933, allocations: 87.73 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.9332, allocations: 155.1 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007713/0.934, allocations: 0.5548 MB / 1.173 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.934, allocations: 0 / 1.173 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.885e-06/0.934, allocations: 0 / 1.173 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.934, allocations: 0 / 1.173 GB, free: 14.48 MB / 0.9044 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.001452/0.9355, allocations: 0.8089 MB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.9355, allocations: 12.88 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.9356, allocations: 44.41 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004535/0.9361, allocations: 320.4 kB / 1.174 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.9361, allocations: 12.66 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.9362, allocations: 16.38 kB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000623/0.9368, allocations: 300.8 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.9368, allocations: 0 / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.9369, allocations: 4 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.9369, allocations: 4 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006142/0.9375, allocations: 272.4 kB / 1.174 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.9386, allocations: 0.664 MB / 1.175 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.9392, allocations: 238.5 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/0.9395, allocations: 192.7 kB / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.9396, allocations: 0 / 1.175 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.9396, allocations: 30.56 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 2.755e-06/0.9396, allocations: 7.984 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.001302/0.9409, allocations: 0.6662 MB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.941, allocations: 148.4 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.9414, allocations: 372.5 kB / 1.177 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.9415, allocations: 33.7 kB / 1.177 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.9416, allocations: 168.3 kB / 1.177 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.9417, allocations: 47.41 kB / 1.177 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-05/0.9418, allocations: 53.62 kB / 1.177 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.9419, allocations: 342.8 kB / 1.177 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004314/0.9423, allocations: 239.8 kB / 1.177 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004341/0.9428, allocations: 246.2 kB / 1.178 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008729/0.9436, allocations: 0.6796 MB / 1.178 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.9437, allocations: 0 / 1.178 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001037/0.9447, allocations: 0.7333 MB / 1.179 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.9448, allocations: 174.2 kB / 1.179 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.9448, allocations: 0 / 1.179 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.9449, allocations: 8 kB / 1.179 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.945, allocations: 31.97 kB / 1.179 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.9451, allocations: 0 / 1.179 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.9453, allocations: 39.8 kB / 1.179 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.9453, allocations: 8 kB / 1.179 GB, free: 7.215 MB / 0.9044 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.0002094/0.9455, allocations: 262.8 kB / 1.18 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.9456, allocations: 35.62 kB / 1.18 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.394e-05/0.9457, allocations: 30.94 kB / 1.18 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.9457, allocations: 0 / 1.18 GB, free: 6.859 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9457, allocations: 4 kB / 1.18 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.9457, allocations: 0 / 1.18 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003438/0.946, allocations: 353.2 kB / 1.18 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.946, allocations: 0 / 1.18 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.9462, allocations: 31.91 kB / 1.18 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.9462, allocations: 0 / 1.18 GB, free: 6.43 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.199e-05/0.9462, allocations: 4 kB / 1.18 GB, free: 6.426 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.9463, allocations: 8 kB / 1.18 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9463, allocations: 0 / 1.18 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009608/0.9472, allocations: 0.621 MB / 1.181 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-05/0.9473, allocations: 108.8 kB / 1.181 GB, free: 5.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.9474, allocations: 8 kB / 1.181 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.9476, allocations: 23.97 kB / 1.181 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.9477, allocations: 31.91 kB / 1.181 GB, free: 5.574 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.9478, allocations: 8 kB / 1.181 GB, free: 5.566 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002842/0.948, allocations: 279 kB / 1.181 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9481, allocations: 0 / 1.181 GB, free: 5.293 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004473/0.9485, allocations: 103.8 kB / 1.181 GB, free: 5.191 MB / 0.9044 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.0003303/0.9488, allocations: 163.2 kB / 1.181 GB, free: 5.023 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.95, allocations: 0.8332 MB / 1.182 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.95, allocations: 3.938 kB / 1.182 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.9505, allocations: 382.1 kB / 1.182 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.951, allocations: 68.7 kB / 1.182 GB, free: 3.637 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.9522, allocations: 0.6802 MB / 1.183 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.9525, allocations: 0.7909 MB / 1.184 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.494e-05/0.9526, allocations: 23.44 kB / 1.184 GB, free: 2.086 MB / 0.9044 GB Notification: Performance of SimCode: time 2.31e-07/0.9526, allocations: 3.938 kB / 1.184 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of Templates: time 0.008615/0.9612, allocations: 4.966 MB / 1.189 GB, free: 13.16 MB / 0.92 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/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