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.0009733/0.0009734, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005647/0.005647, allocations: 169 kB / 16.26 MB, free: 6.66 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.353/1.353, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.587/2.587, allocations: 437.7 MB / 0.7121 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003365, allocations: 16 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6177/0.618, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002154/0.6202, allocations: 1.794 MB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.622, allocations: 1.205 MB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.031e-05/0.6221, allocations: 4 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00035/0.6225, allocations: 95.53 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.668e-05/0.6226, allocations: 39.72 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000593/0.6232, allocations: 201.7 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.6235, allocations: 267.2 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000158/0.6236, allocations: 93.03 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.887e-05/0.6237, allocations: 71.7 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.6239, allocations: 115.4 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.6239, allocations: 8 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.6242, allocations: 203.7 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.994e-05/0.6243, allocations: 71.75 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.6245, allocations: 148.9 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004796/0.625, allocations: 0.5101 MB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.625, allocations: 0 / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.625, allocations: 0 / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.625, allocations: 4 kB / 1.028 GB, free: 11.01 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.626, allocations: 0.7738 MB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.626, allocations: 11.98 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/0.6261, allocations: 36.47 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.6265, allocations: 332.3 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.6265, allocations: 12.66 kB / 1.029 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.325e-05/0.6266, allocations: 16.38 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/0.6272, allocations: 311.2 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.6272, allocations: 0 / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/0.6272, allocations: 8 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.6272, allocations: 4 kB / 1.029 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007185/0.628, allocations: 312.3 kB / 1.029 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009324/0.6289, allocations: 0.6794 MB / 1.03 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.6295, allocations: 246.6 kB / 1.03 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004218/0.6299, allocations: 208.7 kB / 1.031 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.6299, allocations: 0 / 1.031 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.6299, allocations: 34.56 kB / 1.031 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.203e-06/0.63, allocations: 0 / 1.031 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.001399/0.6314, allocations: 0.7221 MB / 1.031 GB, free: 7.109 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.6314, allocations: 144.5 kB / 1.031 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.6319, allocations: 376.5 kB / 1.032 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.6319, allocations: 25.7 kB / 1.032 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.632, allocations: 164.3 kB / 1.032 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.6321, allocations: 51.23 kB / 1.032 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.6321, allocations: 29.7 kB / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.6323, allocations: 346.8 kB / 1.032 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.6327, allocations: 259.7 kB / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/0.6332, allocations: 255.8 kB / 1.033 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009843/0.6342, allocations: 0.713 MB / 1.034 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6342, allocations: 0 / 1.034 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001137/0.6354, allocations: 0.7608 MB / 1.034 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.6355, allocations: 186.2 kB / 1.035 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6355, allocations: 0 / 1.035 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.6355, allocations: 4 kB / 1.035 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.6357, allocations: 39.91 kB / 1.035 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6357, allocations: 4 kB / 1.035 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.636, allocations: 51.81 kB / 1.035 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.636, allocations: 8 kB / 1.035 GB, free: 3.531 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.0002098/0.6362, allocations: 263.4 kB / 1.035 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.796e-05/0.6363, allocations: 27.62 kB / 1.035 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.6363, allocations: 30.94 kB / 1.035 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.6363, allocations: 0 / 1.035 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.6363, allocations: 0 / 1.035 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.6363, allocations: 4 kB / 1.035 GB, free: 3.188 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.6367, allocations: 353.2 kB / 1.035 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.6367, allocations: 0 / 1.035 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.6369, allocations: 39.91 kB / 1.035 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6369, allocations: 0 / 1.035 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.6369, allocations: 8 kB / 1.035 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.6369, allocations: 0 / 1.035 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6369, allocations: 4 kB / 1.035 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.6379, allocations: 0.6599 MB / 1.036 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/0.638, allocations: 108.8 kB / 1.036 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.6381, allocations: 7.938 kB / 1.036 GB, free: 1.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.6383, allocations: 43.95 kB / 1.036 GB, free: 1.875 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.464e-05/0.6384, allocations: 23.97 kB / 1.036 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.6385, allocations: 8 kB / 1.036 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002754/0.6387, allocations: 271 kB / 1.036 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6388, allocations: 4 kB / 1.036 GB, free: 1.574 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004052/0.6392, allocations: 111.8 kB / 1.037 GB, free: 1.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 (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.0002718/0.6394, allocations: 155.2 kB / 1.037 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.6407, allocations: 0.8634 MB / 1.037 GB, free: 372 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6407, allocations: 4 kB / 1.038 GB, free: 368 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005566/0.6412, allocations: 394 kB / 1.038 GB, free: 15.94 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.6417, allocations: 65.33 kB / 1.038 GB, free: 15.88 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.6427, allocations: 0.7397 MB / 1.039 GB, free: 15.11 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.6431, allocations: 0.7831 MB / 1.039 GB, free: 14.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.573e-05/0.6432, allocations: 25.94 kB / 1.039 GB, free: 14.27 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.997e-05/0.6433, allocations: 19.42 kB / 1.039 GB, free: 14.25 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.6433, allocations: 7.938 kB / 1.039 GB, free: 14.25 MB / 0.795 GB Notification: Performance of Templates: time 0.0098/0.6531, allocations: 5.419 MB / 1.045 GB, free: 8.895 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