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.001604/0.001604, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001833/0.001833, allocations: 194.2 kB / 17.3 MB, free: 5.52 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.417/2.417, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 64.5 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2541, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003157/0.2573, allocations: 2.103 MB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.259, allocations: 1.185 MB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.4e-05/0.2591, allocations: 4 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.2595, allocations: 111.4 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.924e-05/0.2596, allocations: 47.58 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.2603, allocations: 259.4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.2607, allocations: 323.2 kB / 1.031 GB, free: 14 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.2609, allocations: 94.97 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.261, allocations: 103.7 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.2611, allocations: 135.4 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.6e-05/0.2612, allocations: 28 kB / 1.031 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003358/0.2615, allocations: 231.7 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.837e-05/0.2617, allocations: 91.73 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.2618, allocations: 147.2 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005101/0.2623, allocations: 0.5491 MB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.2623, allocations: 4 kB / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2623, allocations: 0 / 1.032 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.2623, allocations: 0 / 1.032 GB, free: 12.63 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.001056/0.2634, allocations: 0.8126 MB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.2634, allocations: 8.031 kB / 1.033 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.2635, allocations: 36.56 kB / 1.033 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.2639, allocations: 312.5 kB / 1.033 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.2639, allocations: 12.66 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.264, allocations: 16.38 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.2645, allocations: 299.2 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.2645, allocations: 0 / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.2646, allocations: 11.94 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2646, allocations: 0 / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006057/0.2652, allocations: 272.9 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008884/0.2661, allocations: 0.6715 MB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004957/0.2666, allocations: 234.6 kB / 1.035 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000369/0.267, allocations: 196.7 kB / 1.035 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.267, allocations: 0 / 1.035 GB, free: 9.59 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.267, allocations: 30.56 kB / 1.035 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.267, allocations: 0 / 1.035 GB, free: 9.551 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.001236/0.2683, allocations: 0.6739 MB / 1.035 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.2684, allocations: 140.5 kB / 1.036 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003909/0.2688, allocations: 376.5 kB / 1.036 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.2688, allocations: 37.69 kB / 1.036 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.2689, allocations: 168.3 kB / 1.036 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.269, allocations: 43.36 kB / 1.036 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.378e-05/0.269, allocations: 45.7 kB / 1.036 GB, free: 7.996 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2692, allocations: 342.8 kB / 1.037 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.2696, allocations: 239.8 kB / 1.037 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000398/0.27, allocations: 248.5 kB / 1.037 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008552/0.2708, allocations: 0.6748 MB / 1.038 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.2709, allocations: 4 kB / 1.038 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009877/0.2719, allocations: 0.7334 MB / 1.038 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.272, allocations: 184.8 kB / 1.039 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.272, allocations: 4 kB / 1.039 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.272, allocations: 0 / 1.039 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00016/0.2722, allocations: 31.97 kB / 1.039 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.2722, allocations: 0 / 1.039 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.2724, allocations: 39.75 kB / 1.039 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.2724, allocations: 12 kB / 1.039 GB, free: 5.367 MB / 0.8106 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.000219/0.2726, allocations: 266.7 kB / 1.039 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.2727, allocations: 35.61 kB / 1.039 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.2728, allocations: 26.94 kB / 1.039 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2728, allocations: 8 kB / 1.039 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2728, allocations: 4 kB / 1.039 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2728, allocations: 0 / 1.039 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.2731, allocations: 349.2 kB / 1.039 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2731, allocations: 0 / 1.039 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.2733, allocations: 27.97 kB / 1.039 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2733, allocations: 7.938 kB / 1.039 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.2733, allocations: 4 kB / 1.039 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2733, allocations: 4 kB / 1.039 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2733, allocations: 4 kB / 1.039 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008815/0.2742, allocations: 0.6134 MB / 1.04 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.154e-05/0.2743, allocations: 116.7 kB / 1.04 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.2744, allocations: 8 kB / 1.04 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.2746, allocations: 31.95 kB / 1.04 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.2747, allocations: 23.97 kB / 1.04 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.2747, allocations: 7.938 kB / 1.04 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002556/0.275, allocations: 271 kB / 1.04 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.275, allocations: 0 / 1.04 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003887/0.2754, allocations: 107.9 kB / 1.041 GB, free: 3.348 MB / 0.8106 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.0002683/0.2757, allocations: 159.2 kB / 1.041 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001079/0.2767, allocations: 0.836 MB / 1.041 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2768, allocations: 0 / 1.041 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.2772, allocations: 382 kB / 1.042 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.2777, allocations: 69.33 kB / 1.042 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009396/0.2786, allocations: 0.6358 MB / 1.043 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.2789, allocations: 0.7909 MB / 1.043 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.421e-05/0.279, allocations: 21.95 kB / 1.043 GB, free: 300 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.2791, allocations: 19.44 kB / 1.043 GB, free: 280 kB / 0.8106 GB Notification: Performance of SimCode: time 3.11e-07/0.2791, allocations: 0 / 1.043 GB, free: 280 kB / 0.8106 GB Notification: Performance of Templates: time 0.00933/0.2884, allocations: 5.957 MB / 1.049 GB, free: 10.41 MB / 0.8262 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 -s gbode -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/jenkins1/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