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.001694/0.001694, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001892/0.001892, allocations: 194.2 kB / 16.14 MB, free: 6.629 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.51/1.51, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.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.764/2.764, allocations: 437 MB / 0.71 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003024/0.003024, allocations: 67.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6134/0.6164, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.005014/0.6215, allocations: 2.152 MB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002906/0.6244, allocations: 1.216 MB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.6246, allocations: 8 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.6251, allocations: 95.53 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.6253, allocations: 39.7 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007813/0.6261, allocations: 211.7 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004004/0.6265, allocations: 263.2 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.6268, allocations: 90.56 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.6269, allocations: 91.62 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.6272, allocations: 119.5 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.303e-05/0.6272, allocations: 16 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.6277, allocations: 207.7 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.6279, allocations: 79.73 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.6281, allocations: 131.2 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008574/0.6289, allocations: 0.5336 MB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.629, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.062e-06/0.629, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.629, allocations: 0 / 1.022 GB, free: 13.51 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.001714/0.6307, allocations: 0.8088 MB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.6308, allocations: 11.98 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.6309, allocations: 40.56 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.6315, allocations: 324.4 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.6315, allocations: 12.66 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.6316, allocations: 16.38 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009771/0.6326, allocations: 299.2 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.6326, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.6327, allocations: 8 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.6327, allocations: 3.984 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.6338, allocations: 272.4 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.6352, allocations: 0.6793 MB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000776/0.636, allocations: 230.6 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/0.6366, allocations: 188.7 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.6366, allocations: 4 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.6366, allocations: 34.56 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.834e-06/0.6366, allocations: 0 / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.001893/0.6385, allocations: 0.6753 MB / 1.025 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.6387, allocations: 140.4 kB / 1.025 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/0.6393, allocations: 376.5 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.6393, allocations: 33.7 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.6395, allocations: 164.3 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.682e-05/0.6396, allocations: 47.3 kB / 1.026 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.6398, allocations: 49.7 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.64, allocations: 346.7 kB / 1.026 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006972/0.6407, allocations: 235.7 kB / 1.027 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007022/0.6414, allocations: 243.8 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.6429, allocations: 0.6773 MB / 1.027 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.643, allocations: 0 / 1.027 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001785/0.6448, allocations: 0.7316 MB / 1.028 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/0.6449, allocations: 182.2 kB / 1.028 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.645, allocations: 0 / 1.028 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.645, allocations: 0 / 1.028 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.6452, allocations: 31.97 kB / 1.028 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.6452, allocations: 0 / 1.028 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.6456, allocations: 47.72 kB / 1.028 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.6456, allocations: 7.984 kB / 1.028 GB, free: 6.238 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.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.0003186/0.6459, allocations: 258.9 kB / 1.029 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.646, allocations: 27.62 kB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.76e-05/0.6461, allocations: 34.94 kB / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.6461, allocations: 0 / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6461, allocations: 0 / 1.029 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.6461, allocations: 3.984 kB / 1.029 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005135/0.6467, allocations: 353.3 kB / 1.029 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6467, allocations: 0 / 1.029 GB, free: 5.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.6469, allocations: 31.91 kB / 1.029 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6469, allocations: 0 / 1.029 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.647, allocations: 4 kB / 1.029 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.647, allocations: 3.984 kB / 1.029 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.647, allocations: 4 kB / 1.029 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.6484, allocations: 0.6311 MB / 1.03 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.6485, allocations: 108.7 kB / 1.03 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.6486, allocations: 8 kB / 1.03 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003077/0.6489, allocations: 23.97 kB / 1.03 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.6491, allocations: 31.97 kB / 1.03 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.6491, allocations: 4 kB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004378/0.6496, allocations: 279 kB / 1.03 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6496, allocations: 3.938 kB / 1.03 GB, free: 4.324 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000625/0.6502, allocations: 103.8 kB / 1.03 GB, free: 4.223 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 (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.0004089/0.6506, allocations: 165.4 kB / 1.03 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001722/0.6524, allocations: 0.8321 MB / 1.031 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.6524, allocations: 0 / 1.031 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006926/0.6531, allocations: 378 kB / 1.032 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000558/0.6536, allocations: 69.28 kB / 1.032 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.6549, allocations: 0.7217 MB / 1.032 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004644/0.6554, allocations: 0.787 MB / 1.033 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001117/0.6555, allocations: 21.94 kB / 1.033 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.314e-05/0.6555, allocations: 15.44 kB / 1.033 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of SimCode: time 4.4e-07/0.6555, allocations: 4 kB / 1.033 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of Templates: time 0.01165/0.6672, allocations: 5.437 MB / 1.039 GB, free: 11.7 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=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/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