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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001051/0.001051, allocations: 97.39 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 184.3 kB / 16.92 MB, free: 6.703 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 437.8 MB / 0.7128 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003812, allocations: 8.281 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7675, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00243/0.7699, allocations: 1.805 MB / 1.025 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.7719, allocations: 1.205 MB / 1.027 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.772, allocations: 4 kB / 1.027 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.7724, allocations: 91.55 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.7725, allocations: 43.7 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006126/0.7732, allocations: 199.7 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002616/0.7734, allocations: 267.2 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.7736, allocations: 93.02 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.939e-05/0.7737, allocations: 75.69 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.7739, allocations: 111.4 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.7739, allocations: 8 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003052/0.7742, allocations: 199.7 kB / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.813e-05/0.7743, allocations: 79.73 kB / 1.028 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.7745, allocations: 148.9 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.7749, allocations: 407 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7749, allocations: 4 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7749, allocations: 0 / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.7749, allocations: 0 / 1.028 GB, free: 11.16 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.001067/0.776, allocations: 0.77 MB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.776, allocations: 15.98 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.056e-05/0.7761, allocations: 40.47 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.7765, allocations: 324.4 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.7765, allocations: 12.66 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.369e-05/0.7765, allocations: 16.38 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005934/0.7771, allocations: 319.2 kB / 1.03 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.7772, allocations: 0 / 1.03 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.7772, allocations: 4 kB / 1.03 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.7772, allocations: 4 kB / 1.03 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006694/0.7779, allocations: 304.4 kB / 1.03 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009461/0.7788, allocations: 0.6833 MB / 1.031 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.7794, allocations: 238.6 kB / 1.031 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.7798, allocations: 208.7 kB / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.7798, allocations: 0 / 1.031 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.7799, allocations: 42.5 kB / 1.031 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.7799, allocations: 7.938 kB / 1.031 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.001379/0.7812, allocations: 0.7209 MB / 1.032 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.264e-05/0.7813, allocations: 132.6 kB / 1.032 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003945/0.7817, allocations: 380.5 kB / 1.032 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.7818, allocations: 33.7 kB / 1.032 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.7819, allocations: 164.3 kB / 1.033 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.747e-05/0.7819, allocations: 47.3 kB / 1.033 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.782, allocations: 29.72 kB / 1.033 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7821, allocations: 346.7 kB / 1.033 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004365/0.7826, allocations: 251.7 kB / 1.033 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.783, allocations: 255.8 kB / 1.033 GB, free: 5.59 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009369/0.784, allocations: 0.7253 MB / 1.034 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.784, allocations: 0 / 1.034 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001069/0.785, allocations: 0.753 MB / 1.035 GB, free: 4.012 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.7852, allocations: 190.2 kB / 1.035 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7852, allocations: 0 / 1.035 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.7852, allocations: 0 / 1.035 GB, free: 3.789 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.7854, allocations: 35.97 kB / 1.035 GB, free: 3.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.7854, allocations: 3.984 kB / 1.035 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.7856, allocations: 59.8 kB / 1.035 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.7857, allocations: 8 kB / 1.035 GB, free: 3.684 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.0002212/0.7859, allocations: 259.3 kB / 1.035 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.786, allocations: 35.61 kB / 1.035 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.066e-05/0.786, allocations: 26.94 kB / 1.035 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.786, allocations: 0 / 1.035 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.786, allocations: 8 kB / 1.035 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.786, allocations: 0 / 1.035 GB, free: 3.336 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.7864, allocations: 349.2 kB / 1.036 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.7864, allocations: 3.984 kB / 1.036 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.7866, allocations: 39.97 kB / 1.036 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7866, allocations: 0 / 1.036 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.7866, allocations: 4 kB / 1.036 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7866, allocations: 4 kB / 1.036 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7866, allocations: 0 / 1.036 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009566/0.7876, allocations: 0.6598 MB / 1.037 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.7877, allocations: 108.8 kB / 1.037 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.7877, allocations: 8 kB / 1.037 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/0.7879, allocations: 35.97 kB / 1.037 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.7881, allocations: 27.97 kB / 1.037 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.7881, allocations: 8 kB / 1.037 GB, free: 2 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002833/0.7884, allocations: 279 kB / 1.037 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.7884, allocations: 3.938 kB / 1.037 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004251/0.7888, allocations: 107.8 kB / 1.037 GB, free: 1.617 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.0002851/0.7891, allocations: 155.2 kB / 1.037 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001164/0.7903, allocations: 0.8711 MB / 1.038 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7903, allocations: 0 / 1.038 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.7908, allocations: 394.2 kB / 1.038 GB, free: 88 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.7913, allocations: 65.91 kB / 1.039 GB, free: 24 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.7924, allocations: 0.7785 MB / 1.039 GB, free: 15.2 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.7927, allocations: 0.787 MB / 1.04 GB, free: 14.39 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.7928, allocations: 15.44 kB / 1.04 GB, free: 14.38 MB / 0.795 GB Notification: Performance of SimCode: time 4.51e-07/0.7928, allocations: 0 / 1.04 GB, free: 14.38 MB / 0.795 GB Notification: Performance of Templates: time 0.007331/0.8002, allocations: 4.915 MB / 1.045 GB, free: 9.5 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/jenkins1/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