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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0009284/0.0009284, allocations: 98.03 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.005708/0.005708, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.33/1.33, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.623/2.623, allocations: 462.6 MB / 0.7363 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003054, allocations: 9.156 kB / 0.9027 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2535, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00207/0.2556, allocations: 1.803 MB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001632/0.2573, allocations: 1.2 MB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.2574, allocations: 4 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.2577, allocations: 103.5 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.235e-05/0.2578, allocations: 35.72 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005055/0.2583, allocations: 199.7 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.2586, allocations: 271.2 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.2587, allocations: 87.33 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.602e-05/0.2588, allocations: 71.7 kB / 1.062 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.259, allocations: 119.4 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.259, allocations: 8 kB / 1.062 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.2593, allocations: 195.8 kB / 1.063 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-05/0.2594, allocations: 79.73 kB / 1.063 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.2595, allocations: 152.9 kB / 1.063 GB, free: 0.6719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.26, allocations: 0.514 MB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.26, allocations: 0 / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.443e-06/0.26, allocations: 0 / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.26, allocations: 0 / 1.063 GB, free: 160 kB / 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.0009715/0.261, allocations: 0.7661 MB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.261, allocations: 11.97 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.75e-05/0.2611, allocations: 40.45 kB / 1.064 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003496/0.2615, allocations: 316.5 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.2615, allocations: 16.66 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.496e-05/0.2615, allocations: 20.38 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005969/0.2621, allocations: 311.1 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.2622, allocations: 4 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.2622, allocations: 12 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2622, allocations: 4 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006809/0.2629, allocations: 300.4 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009695/0.2639, allocations: 0.6839 MB / 1.066 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.2644, allocations: 238.6 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.2648, allocations: 208.7 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.2648, allocations: 3.984 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.2649, allocations: 46.48 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.383e-06/0.2649, allocations: 0 / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.001343/0.2662, allocations: 0.7198 MB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/0.2663, allocations: 136.5 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.2667, allocations: 384.4 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.2667, allocations: 29.7 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2668, allocations: 168.3 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.2669, allocations: 47.44 kB / 1.068 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.2669, allocations: 25.7 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.267, allocations: 342.8 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004527/0.2675, allocations: 259.8 kB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.2679, allocations: 251.9 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009431/0.2689, allocations: 0.715 MB / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2689, allocations: 0 / 1.069 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001091/0.27, allocations: 0.7647 MB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.2701, allocations: 182.2 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.2701, allocations: 3.984 kB / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.2701, allocations: 0 / 1.07 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.2703, allocations: 39.97 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2703, allocations: 0 / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.2706, allocations: 55.72 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.2706, allocations: 7.938 kB / 1.07 GB, free: 8.691 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.0002087/0.2708, allocations: 270.8 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.456e-05/0.2709, allocations: 23.72 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.2709, allocations: 30.94 kB / 1.071 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2709, allocations: 0 / 1.071 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.271, allocations: 0 / 1.071 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.271, allocations: 0 / 1.071 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003289/0.2713, allocations: 349.2 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2713, allocations: 0 / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.2715, allocations: 39.97 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.2715, allocations: 0 / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.2715, allocations: 8 kB / 1.071 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.2715, allocations: 7.875 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2715, allocations: 0 / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009724/0.2725, allocations: 0.6562 MB / 1.072 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.94e-05/0.2726, allocations: 116.7 kB / 1.072 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.2726, allocations: 8 kB / 1.072 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.2729, allocations: 43.97 kB / 1.072 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.471e-05/0.273, allocations: 31.94 kB / 1.072 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.273, allocations: 4 kB / 1.072 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002622/0.2733, allocations: 271 kB / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2733, allocations: 0 / 1.072 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003941/0.2737, allocations: 104 kB / 1.072 GB, free: 6.621 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.000256/0.2739, allocations: 151.2 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.2751, allocations: 0.8711 MB / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2751, allocations: 0 / 1.073 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005427/0.2757, allocations: 394.2 kB / 1.073 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.2762, allocations: 77.41 kB / 1.074 GB, free: 5.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.2772, allocations: 0.7361 MB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.2776, allocations: 0.7831 MB / 1.075 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.459e-05/0.2777, allocations: 21.95 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.2778, allocations: 19.44 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.2778, allocations: 0 / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of Templates: time 0.009337/0.2871, allocations: 5.423 MB / 1.08 GB, free: 14.07 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