Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001472/0.001472, allocations: 107.7 kB / 16.41 MB, free: 6.457 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.001756/0.001756, allocations: 189.7 kB / 17.35 MB, free: 5.719 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9123/0.9137, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00333/0.9171, allocations: 2.099 MB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.919, allocations: 1.179 MB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.9191, allocations: 2.969 kB / 1.092 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.9195, allocations: 117.2 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.923e-05/0.9197, allocations: 44.97 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.9204, allocations: 265.3 kB / 1.092 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.9209, allocations: 312.1 kB / 1.093 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002004/0.9211, allocations: 106.4 kB / 1.093 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.9212, allocations: 109 kB / 1.093 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.9214, allocations: 120.5 kB / 1.093 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.894e-05/0.9214, allocations: 29.12 kB / 1.093 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.9219, allocations: 232 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.922, allocations: 94.53 kB / 1.093 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.9222, allocations: 153.9 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007693/0.9229, allocations: 0.5554 MB / 1.094 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.923, allocations: 0 / 1.094 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/0.923, allocations: 0 / 1.094 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.923, allocations: 0.7188 kB / 1.094 GB, free: 2.312 MB / 0.8575 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.001121/0.9241, allocations: 0.8081 MB / 1.095 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.9241, allocations: 10.61 kB / 1.095 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.169e-05/0.9242, allocations: 32.84 kB / 1.095 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.9246, allocations: 329.2 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.9246, allocations: 11.91 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.9247, allocations: 21.12 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.9253, allocations: 288.1 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.9254, allocations: 5.672 kB / 1.095 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.9254, allocations: 6.812 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.9254, allocations: 3.531 kB / 1.095 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007725/0.9262, allocations: 268.3 kB / 1.096 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009847/0.9272, allocations: 0.6692 MB / 1.096 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005616/0.9277, allocations: 233.6 kB / 1.096 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/0.9282, allocations: 193.8 kB / 1.097 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.682e-05/0.9282, allocations: 0.9688 kB / 1.097 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.9282, allocations: 36.41 kB / 1.097 GB, free: 468 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.522e-06/0.9282, allocations: 0.6562 kB / 1.097 GB, free: 468 kB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.001412/0.9296, allocations: 0.6704 MB / 1.097 GB, free: 176 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.9297, allocations: 135.7 kB / 1.097 GB, free: 16 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004883/0.9302, allocations: 376.2 kB / 1.098 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.9302, allocations: 40.7 kB / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.9304, allocations: 162.8 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.9305, allocations: 49.94 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.544e-05/0.9306, allocations: 47.33 kB / 1.098 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.9307, allocations: 342.9 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.9312, allocations: 238.3 kB / 1.099 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.9317, allocations: 247.7 kB / 1.099 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.9328, allocations: 0.6749 MB / 1.1 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.9328, allocations: 0.6875 kB / 1.1 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00129/0.9341, allocations: 0.737 MB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.9343, allocations: 180 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.9343, allocations: 0.7031 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.9343, allocations: 1 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.9345, allocations: 35.8 kB / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.9345, allocations: 1.125 kB / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.9347, allocations: 38.05 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.9348, allocations: 15.62 kB / 1.101 GB, free: 14.1 MB / 0.8731 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.0002372/0.935, allocations: 258.1 kB / 1.101 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.747e-05/0.9351, allocations: 31 kB / 1.101 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.169e-05/0.9351, allocations: 33.3 kB / 1.101 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.9352, allocations: 4.594 kB / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.9352, allocations: 0 / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.9352, allocations: 1.688 kB / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.9356, allocations: 353.4 kB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9356, allocations: 1.094 kB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.9358, allocations: 27.38 kB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.9358, allocations: 1.125 kB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.9358, allocations: 4.641 kB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.9358, allocations: 0.7188 kB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.9358, allocations: 0.7031 kB / 1.101 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.937, allocations: 0.6198 MB / 1.102 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.101e-05/0.9371, allocations: 109.3 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.9372, allocations: 7.719 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.9374, allocations: 29.7 kB / 1.102 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.9376, allocations: 25.95 kB / 1.102 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.9376, allocations: 8 kB / 1.102 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004115/0.938, allocations: 276 kB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/0.938, allocations: 0.6562 kB / 1.102 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006618/0.9387, allocations: 111.6 kB / 1.102 GB, free: 12.91 MB / 0.8731 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.0003726/0.9391, allocations: 162.2 kB / 1.103 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.9404, allocations: 0.8303 MB / 1.103 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.9404, allocations: 1.094 kB / 1.103 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.941, allocations: 383.5 kB / 1.104 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004614/0.9415, allocations: 69.86 kB / 1.104 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.9427, allocations: 0.6863 MB / 1.104 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.9432, allocations: 0.7799 MB / 1.105 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.9433, allocations: 23.77 kB / 1.105 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of SimCode: time 5.71e-07/0.9433, allocations: 4 kB / 1.105 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of Templates: time 0.009803/0.9531, allocations: 4.966 MB / 1.11 GB, free: 10.4 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches