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.001405/0.001405, allocations: 100.1 kB / 15.88 MB, free: 12 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.001497/0.001497, allocations: 197.2 kB / 16.79 MB, free: 6.809 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.363/1.363, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.76/2.76, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 64.56 kB / 0.899 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3033, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004187/0.3075, allocations: 2.158 MB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002405/0.31, allocations: 1.219 MB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000222/0.3102, allocations: 0 / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005271/0.3108, allocations: 107.5 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.311, allocations: 35.7 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008253/0.3119, allocations: 199.7 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.3123, allocations: 271.2 kB / 1.057 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.3125, allocations: 83.34 kB / 1.057 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.3127, allocations: 87.67 kB / 1.057 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.3129, allocations: 123.4 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.277e-05/0.313, allocations: 12 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000425/0.3134, allocations: 203.7 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.3135, allocations: 87.72 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.3137, allocations: 135.2 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.3142, allocations: 427 kB / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3143, allocations: 0 / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3143, allocations: 0 / 1.058 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.388e-05/0.3143, allocations: 0 / 1.058 GB, free: 3.184 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.001508/0.3158, allocations: 0.8049 MB / 1.059 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.3159, allocations: 19.91 kB / 1.059 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.316, allocations: 32.56 kB / 1.059 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.3164, allocations: 324.4 kB / 1.059 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.3165, allocations: 16.66 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.3165, allocations: 16.38 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.3172, allocations: 291.2 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.3172, allocations: 0 / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.3172, allocations: 19.92 kB / 1.059 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.3173, allocations: 4 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006706/0.3179, allocations: 268.4 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.3191, allocations: 0.6721 MB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000568/0.3197, allocations: 234.6 kB / 1.06 GB, free: 320 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/0.3201, allocations: 188.7 kB / 1.061 GB, free: 128 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3201, allocations: 0 / 1.061 GB, free: 128 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.3201, allocations: 34.56 kB / 1.061 GB, free: 84 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.3202, allocations: 0 / 1.061 GB, free: 84 kB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.001458/0.3216, allocations: 0.6761 MB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.3217, allocations: 148.4 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000477/0.3222, allocations: 380.5 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.3223, allocations: 25.7 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/0.3225, allocations: 164.3 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.14e-05/0.3225, allocations: 43.36 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.3227, allocations: 45.7 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000213/0.3229, allocations: 346.7 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/0.3234, allocations: 239.9 kB / 1.063 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004518/0.3238, allocations: 235.8 kB / 1.063 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009673/0.3248, allocations: 0.6859 MB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.3248, allocations: 0 / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001126/0.326, allocations: 0.7285 MB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.3261, allocations: 191.8 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3261, allocations: 0 / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3262, allocations: 0 / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3263, allocations: 27.97 kB / 1.064 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.3264, allocations: 0 / 1.064 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.3266, allocations: 47.7 kB / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.3266, allocations: 8 kB / 1.064 GB, free: 11.91 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.0002966/0.3269, allocations: 266.7 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.345e-05/0.327, allocations: 31.62 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.266e-05/0.3271, allocations: 26.94 kB / 1.065 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.3271, allocations: 4 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.3271, allocations: 3.984 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3271, allocations: 0 / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.3275, allocations: 341.3 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3276, allocations: 0 / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.3277, allocations: 31.97 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.3277, allocations: 8 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.3278, allocations: 7.984 kB / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3278, allocations: 0 / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3278, allocations: 0 / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009638/0.3287, allocations: 0.6249 MB / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3289, allocations: 120.7 kB / 1.066 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.199e-05/0.3289, allocations: 8 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.3291, allocations: 27.97 kB / 1.066 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.3293, allocations: 23.97 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3293, allocations: 4 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003258/0.3296, allocations: 275 kB / 1.066 GB, free: 10 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3297, allocations: 4 kB / 1.066 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004658/0.3301, allocations: 99.91 kB / 1.066 GB, free: 9.898 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.0004389/0.3306, allocations: 163.2 kB / 1.066 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.3318, allocations: 0.836 MB / 1.067 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3318, allocations: 0 / 1.067 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004974/0.3323, allocations: 374.1 kB / 1.068 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.3328, allocations: 61.78 kB / 1.068 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.334, allocations: 0.7789 MB / 1.068 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.3344, allocations: 0.7791 MB / 1.069 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.077e-05/0.3344, allocations: 19.44 kB / 1.069 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3344, allocations: 4 kB / 1.069 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of Templates: time 0.008707/0.3432, allocations: 4.953 MB / 1.074 GB, free: 1.801 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 -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