Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001491/0.001491, allocations: 108.2 kB / 15.99 MB, free: 6.348 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.001872/0.001872, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.407/1.407, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.594/2.594, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 69.33 kB / 0.8127 GB, free: 32.44 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2861, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00403/0.2901, allocations: 2.147 MB / 0.9519 GB, free: 7.066 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.2923, allocations: 1.162 MB / 0.953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.2925, allocations: 0 / 0.953 GB, free: 5.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004648/0.2929, allocations: 103.5 kB / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.2932, allocations: 39.75 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007874/0.2939, allocations: 239.5 kB / 0.9534 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.2944, allocations: 319.3 kB / 0.9537 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.2946, allocations: 103.2 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.2947, allocations: 111.6 kB / 0.9539 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.2949, allocations: 127.5 kB / 0.954 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.295, allocations: 28 kB / 0.954 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003659/0.2954, allocations: 223.7 kB / 0.9542 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2955, allocations: 103.6 kB / 0.9543 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.2957, allocations: 151.2 kB / 0.9545 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004915/0.2962, allocations: 427.1 kB / 0.9549 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2962, allocations: 0 / 0.9549 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2962, allocations: 4 kB / 0.9549 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.2962, allocations: 0 / 0.9549 GB, free: 3.961 MB / 0.7325 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.001327/0.2975, allocations: 0.801 MB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.2976, allocations: 12.03 kB / 0.9557 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.91e-05/0.2977, allocations: 32.56 kB / 0.9557 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.2981, allocations: 320.4 kB / 0.956 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.2982, allocations: 12.66 kB / 0.956 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.2982, allocations: 20.12 kB / 0.9561 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/0.2988, allocations: 294.9 kB / 0.9563 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.2989, allocations: 0 / 0.9563 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.2989, allocations: 8 kB / 0.9564 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.2989, allocations: 4 kB / 0.9564 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006356/0.2995, allocations: 272.3 kB / 0.9566 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.3006, allocations: 0.6718 MB / 0.9573 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.3012, allocations: 230.6 kB / 0.9575 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.3016, allocations: 188.9 kB / 0.9577 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.3016, allocations: 8 kB / 0.9577 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3016, allocations: 30.56 kB / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.3017, allocations: 0 / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.001315/0.303, allocations: 0.6739 MB / 0.9584 GB, free: 192 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.8e-05/0.3031, allocations: 136.5 kB / 0.9585 GB, free: 24 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.3035, allocations: 384.4 kB / 0.9589 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.3035, allocations: 29.7 kB / 0.9589 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.3037, allocations: 168.3 kB / 0.9591 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.179e-05/0.3037, allocations: 47.27 kB / 0.9591 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.3038, allocations: 45.7 kB / 0.9591 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.304, allocations: 346.9 kB / 0.9595 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000437/0.3044, allocations: 243.8 kB / 0.9597 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.3048, allocations: 231.9 kB / 0.9599 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009203/0.3058, allocations: 0.6865 MB / 0.9606 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3058, allocations: 0 / 0.9606 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001098/0.3069, allocations: 0.7296 MB / 0.9613 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.307, allocations: 182.2 kB / 0.9615 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.307, allocations: 0 / 0.9615 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3071, allocations: 4 kB / 0.9615 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.3072, allocations: 23.97 kB / 0.9615 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3072, allocations: 7.984 kB / 0.9615 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.3075, allocations: 43.66 kB / 0.9616 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.3075, allocations: 19.94 kB / 0.9616 GB, free: 12.7 MB / 0.7481 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.000255/0.3078, allocations: 270.3 kB / 0.9618 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.3078, allocations: 31.62 kB / 0.9619 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.166e-05/0.3079, allocations: 26.94 kB / 0.9619 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3079, allocations: 0 / 0.9619 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3079, allocations: 0 / 0.9619 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3079, allocations: 4 kB / 0.9619 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003574/0.3083, allocations: 341.3 kB / 0.9622 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3083, allocations: 0 / 0.9622 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.3085, allocations: 31.97 kB / 0.9623 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3085, allocations: 0 / 0.9623 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.3085, allocations: 8 kB / 0.9623 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3085, allocations: 0 / 0.9623 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3085, allocations: 4 kB / 0.9623 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009685/0.3095, allocations: 0.621 MB / 0.9629 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.587e-05/0.3096, allocations: 120.6 kB / 0.963 GB, free: 11.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.3096, allocations: 4 kB / 0.963 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.3099, allocations: 27.97 kB / 0.963 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.31, allocations: 31.95 kB / 0.963 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.31, allocations: 4 kB / 0.963 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003/0.3103, allocations: 279 kB / 0.9633 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3103, allocations: 0 / 0.9633 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004549/0.3108, allocations: 103.8 kB / 0.9634 GB, free: 10.69 MB / 0.7481 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.0003058/0.3111, allocations: 155.2 kB / 0.9636 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.3123, allocations: 0.8438 MB / 0.9644 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3123, allocations: 0 / 0.9644 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005225/0.3129, allocations: 374 kB / 0.9647 GB, free: 9.211 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.3133, allocations: 73.34 kB / 0.9648 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.3144, allocations: 0.7625 MB / 0.9656 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.3148, allocations: 0.7907 MB / 0.9663 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.29e-05/0.3149, allocations: 19.44 kB / 0.9663 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.3149, allocations: 0 / 0.9663 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of Templates: time 0.008223/0.3231, allocations: 4.959 MB / 0.9712 GB, free: 2.59 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches