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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001102/0.001101, allocations: 108 kB / 15.61 MB, free: 152 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.001142/0.001142, allocations: 196.1 kB / 16.53 MB, free: 6.664 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.346/1.346, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.739/2.739, allocations: 472.6 MB / 0.7451 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 62.42 kB / 0.9121 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2964, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003226/0.2996, allocations: 2.103 MB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.3015, allocations: 1.18 MB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.3016, allocations: 4 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003987/0.3021, allocations: 107.3 kB / 1.072 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.3022, allocations: 55.52 kB / 1.072 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.3029, allocations: 255 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.3033, allocations: 327.2 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.3035, allocations: 91.28 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.3036, allocations: 111.6 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.3038, allocations: 131.5 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.3038, allocations: 28 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003334/0.3041, allocations: 219.7 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.3043, allocations: 87.73 kB / 1.073 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.3044, allocations: 155.2 kB / 1.073 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005477/0.305, allocations: 0.5414 MB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.305, allocations: 4 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.745e-06/0.305, allocations: 0 / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.305, allocations: 3.938 kB / 1.073 GB, free: 5.023 MB / 0.8262 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.001156/0.3061, allocations: 0.8087 MB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.3062, allocations: 8.031 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.3063, allocations: 40.47 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.3067, allocations: 324.4 kB / 1.075 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.3067, allocations: 12.66 kB / 1.075 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.3067, allocations: 16.38 kB / 1.075 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/0.3074, allocations: 297.1 kB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.3074, allocations: 3.938 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.3074, allocations: 8 kB / 1.075 GB, free: 3.387 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3074, allocations: 4 kB / 1.075 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006752/0.3081, allocations: 276.3 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009331/0.309, allocations: 0.6721 MB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005408/0.3096, allocations: 230.6 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003979/0.31, allocations: 192.7 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.31, allocations: 0 / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3101, allocations: 30.67 kB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.3101, allocations: 7.938 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.001357/0.3114, allocations: 0.6661 MB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.444e-05/0.3115, allocations: 140.5 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.312, allocations: 380.5 kB / 1.077 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.312, allocations: 29.7 kB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.3122, allocations: 172.2 kB / 1.078 GB, free: 484 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.3122, allocations: 47.34 kB / 1.078 GB, free: 436 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.798e-05/0.3123, allocations: 45.7 kB / 1.078 GB, free: 384 kB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3124, allocations: 342.8 kB / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004525/0.3129, allocations: 239.8 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.3133, allocations: 235.9 kB / 1.079 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009139/0.3142, allocations: 0.6818 MB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3143, allocations: 0 / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001077/0.3153, allocations: 0.7321 MB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.3155, allocations: 178.2 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.3155, allocations: 4 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3155, allocations: 4 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.3157, allocations: 35.91 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3157, allocations: 0 / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.3159, allocations: 39.75 kB / 1.08 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.316, allocations: 12 kB / 1.08 GB, free: 13.75 MB / 0.8419 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.0002145/0.3162, allocations: 256.4 kB / 1.08 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.3162, allocations: 35.62 kB / 1.08 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.3163, allocations: 30.94 kB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3163, allocations: 4 kB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3163, allocations: 0 / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.3163, allocations: 0 / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003344/0.3167, allocations: 357.2 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3167, allocations: 0 / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.3168, allocations: 31.91 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.3169, allocations: 4 kB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.3169, allocations: 4 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3169, allocations: 8 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3169, allocations: 7.938 kB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009752/0.3179, allocations: 0.6133 MB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/0.318, allocations: 112.8 kB / 1.082 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.318, allocations: 8 kB / 1.082 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.3183, allocations: 23.97 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3184, allocations: 27.95 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.3184, allocations: 11.98 kB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002953/0.3187, allocations: 271 kB / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3187, allocations: 0 / 1.082 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004319/0.3192, allocations: 99.91 kB / 1.082 GB, free: 11.74 MB / 0.8419 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.0003222/0.3195, allocations: 167.7 kB / 1.082 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.3207, allocations: 0.8398 MB / 1.083 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3207, allocations: 0 / 1.083 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.3212, allocations: 378.1 kB / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004475/0.3217, allocations: 69.31 kB / 1.083 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.3227, allocations: 0.6619 MB / 1.084 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.3231, allocations: 0.7831 MB / 1.085 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.95e-05/0.3232, allocations: 21.95 kB / 1.085 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.3232, allocations: 19.44 kB / 1.085 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.3232, allocations: 0 / 1.085 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of Templates: time 0.0105/0.3337, allocations: 5.967 MB / 1.091 GB, free: 2.773 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