Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0009921/0.000992, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.00782/0.00782, allocations: 171.8 kB / 16.26 MB, free: 6.676 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.355/1.355, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.681/2.681, allocations: 462.7 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003791, allocations: 11.8 kB / 0.9028 GB, free: 36.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.267, allocations: 159.6 MB / 1.059 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00239/0.2694, allocations: 1.803 MB / 1.06 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.2715, allocations: 1.204 MB / 1.062 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.2716, allocations: 4 kB / 1.062 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.2721, allocations: 107.5 kB / 1.062 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.2722, allocations: 35.72 kB / 1.062 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000683/0.2729, allocations: 206.6 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003153/0.2732, allocations: 263.2 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.2734, allocations: 91.31 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.2735, allocations: 71.7 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.2737, allocations: 111.4 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.609e-05/0.2737, allocations: 8 kB / 1.062 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003616/0.2741, allocations: 203.7 kB / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2742, allocations: 75.75 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.2744, allocations: 152.9 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005392/0.2749, allocations: 0.5139 MB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2749, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.275, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.275, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 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.001147/0.2761, allocations: 0.7738 MB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2762, allocations: 12.03 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.633e-05/0.2763, allocations: 36.47 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004015/0.2767, allocations: 320.4 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.2767, allocations: 12.66 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.2767, allocations: 20.38 kB / 1.065 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000628/0.2774, allocations: 311.2 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2774, allocations: 4 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.2774, allocations: 4 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2774, allocations: 4 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.2781, allocations: 304.4 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009797/0.2791, allocations: 0.68 MB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005677/0.2797, allocations: 250.6 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004324/0.2802, allocations: 204.7 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.2802, allocations: 4 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.2802, allocations: 34.56 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.974e-06/0.2802, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.001446/0.2817, allocations: 0.7209 MB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.844e-05/0.2818, allocations: 136.5 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.2822, allocations: 384.3 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.2822, allocations: 33.7 kB / 1.067 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.2824, allocations: 168.3 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.2824, allocations: 39.39 kB / 1.068 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.2825, allocations: 33.7 kB / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2826, allocations: 342.8 kB / 1.068 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/0.2831, allocations: 251.8 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/0.2835, allocations: 255.9 kB / 1.069 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.2846, allocations: 0.7134 MB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2846, allocations: 0 / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001196/0.2858, allocations: 0.7647 MB / 1.07 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.2859, allocations: 182.2 kB / 1.07 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2859, allocations: 0 / 1.07 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.286, allocations: 0 / 1.07 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.2862, allocations: 39.91 kB / 1.07 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2862, allocations: 4 kB / 1.07 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.2864, allocations: 55.72 kB / 1.07 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.2865, allocations: 8 kB / 1.07 GB, free: 9.164 MB / 0.8262 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.0002972/0.2868, allocations: 262.8 kB / 1.071 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.2868, allocations: 31.72 kB / 1.071 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.2869, allocations: 30.94 kB / 1.071 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2869, allocations: 0 / 1.071 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2869, allocations: 0 / 1.071 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.2869, allocations: 4 kB / 1.071 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003431/0.2873, allocations: 349.2 kB / 1.071 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2873, allocations: 0 / 1.071 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001774/0.2875, allocations: 43.91 kB / 1.071 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2875, allocations: 0 / 1.071 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.2875, allocations: 4 kB / 1.071 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2875, allocations: 0 / 1.071 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2875, allocations: 3.938 kB / 1.071 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009891/0.2885, allocations: 0.664 MB / 1.072 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.701e-05/0.2886, allocations: 108.7 kB / 1.072 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.407e-05/0.2887, allocations: 8 kB / 1.072 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.2889, allocations: 39.95 kB / 1.072 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.289, allocations: 31.97 kB / 1.072 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.289, allocations: 4 kB / 1.072 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002784/0.2893, allocations: 271 kB / 1.072 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2893, allocations: 0 / 1.072 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004217/0.2898, allocations: 104 kB / 1.072 GB, free: 7.098 MB / 0.8262 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.000295/0.2901, allocations: 151.2 kB / 1.072 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001194/0.2913, allocations: 0.8708 MB / 1.073 GB, free: 6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2913, allocations: 0 / 1.073 GB, free: 6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005371/0.2918, allocations: 394 kB / 1.074 GB, free: 5.578 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.2923, allocations: 84.91 kB / 1.074 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.2934, allocations: 0.7379 MB / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.2938, allocations: 0.7753 MB / 1.075 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.58e-05/0.2939, allocations: 25.95 kB / 1.075 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.2939, allocations: 19.42 kB / 1.075 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.2939, allocations: 3.938 kB / 1.075 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of Templates: time 0.009784/0.3037, allocations: 5.422 MB / 1.08 GB, free: 14.55 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches