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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006101/0.006101, allocations: 103.4 kB / 15.73 MB, free: 6.445 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.001399/0.0014, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.653/2.653, allocations: 461.8 MB / 0.7347 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 64.12 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2988, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003409/0.3023, allocations: 2.113 MB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.3042, allocations: 1.161 MB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.3043, allocations: 4 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004324/0.3048, allocations: 115.3 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.3049, allocations: 47.58 kB / 1.211 GB, free: 6.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000732/0.3057, allocations: 257.1 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.306, allocations: 319.2 kB / 1.212 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.3062, allocations: 103 kB / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3064, allocations: 103.7 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.3065, allocations: 131.4 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.819e-05/0.3066, allocations: 28 kB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.307, allocations: 231.7 kB / 1.212 GB, free: 5.047 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.98e-05/0.3071, allocations: 91.67 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.3072, allocations: 147.2 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005899/0.3078, allocations: 0.553 MB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3078, allocations: 0 / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3079, allocations: 0 / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.3079, allocations: 0 / 1.213 GB, free: 4.258 MB / 0.9669 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.001203/0.3091, allocations: 0.8126 MB / 1.214 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3091, allocations: 12.62 kB / 1.214 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.97e-05/0.3092, allocations: 40.47 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004197/0.3096, allocations: 316.4 kB / 1.214 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3097, allocations: 16.59 kB / 1.214 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.3097, allocations: 16.38 kB / 1.214 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006112/0.3103, allocations: 295.2 kB / 1.214 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.3103, allocations: 0 / 1.214 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.3104, allocations: 8 kB / 1.214 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3104, allocations: 4 kB / 1.214 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006816/0.3111, allocations: 272.3 kB / 1.215 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009931/0.3121, allocations: 0.6646 MB / 1.215 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/0.3126, allocations: 238.5 kB / 1.216 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00041/0.313, allocations: 192.7 kB / 1.216 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.3131, allocations: 0 / 1.216 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.3131, allocations: 30.56 kB / 1.216 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.3131, allocations: 4 kB / 1.216 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14): time 0.001378/0.3145, allocations: 0.685 MB / 1.216 GB, free: 472 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.3146, allocations: 132.5 kB / 1.217 GB, free: 308 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.315, allocations: 384.4 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.315, allocations: 29.7 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.3151, allocations: 168.3 kB / 1.217 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.3152, allocations: 43.45 kB / 1.217 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-05/0.3153, allocations: 45.7 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3154, allocations: 342.8 kB / 1.218 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004497/0.3159, allocations: 235.8 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.3163, allocations: 243.9 kB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009476/0.3173, allocations: 0.6781 MB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3173, allocations: 0 / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001104/0.3184, allocations: 0.7373 MB / 1.219 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.3185, allocations: 178.2 kB / 1.22 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3185, allocations: 7.984 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3186, allocations: 0 / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.3187, allocations: 31.97 kB / 1.22 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3188, allocations: 0 / 1.22 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.319, allocations: 47.66 kB / 1.22 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.319, allocations: 12 kB / 1.22 GB, free: 12.98 MB / 0.9825 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.0002277/0.3193, allocations: 254.8 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.3194, allocations: 27.72 kB / 1.22 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.3194, allocations: 34.88 kB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3194, allocations: 4 kB / 1.22 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3194, allocations: 0 / 1.22 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3194, allocations: 0 / 1.22 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.3198, allocations: 349.2 kB / 1.22 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3198, allocations: 4 kB / 1.22 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.32, allocations: 23.97 kB / 1.22 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.32, allocations: 7.938 kB / 1.22 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.32, allocations: 8 kB / 1.22 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.32, allocations: 0 / 1.22 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.32, allocations: 0 / 1.22 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3211, allocations: 0.621 MB / 1.221 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.973e-05/0.3212, allocations: 116.7 kB / 1.221 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.3212, allocations: 8 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.3215, allocations: 31.91 kB / 1.221 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3216, allocations: 23.97 kB / 1.221 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.3216, allocations: 11.98 kB / 1.221 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002766/0.3219, allocations: 275 kB / 1.221 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3219, allocations: 0 / 1.221 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003977/0.3223, allocations: 100 kB / 1.222 GB, free: 10.97 MB / 0.9825 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.0003017/0.3226, allocations: 155.2 kB / 1.222 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.3238, allocations: 0.8321 MB / 1.222 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3238, allocations: 4 kB / 1.222 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005257/0.3243, allocations: 378.1 kB / 1.223 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.3248, allocations: 74.83 kB / 1.223 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.3258, allocations: 0.6629 MB / 1.224 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3262, allocations: 0.7831 MB / 1.224 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.72e-05/0.3263, allocations: 21.95 kB / 1.224 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.145e-05/0.3263, allocations: 23.44 kB / 1.224 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.3264, allocations: 0 / 1.224 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of Templates: time 0.01096/0.3373, allocations: 6.113 MB / 1.23 GB, free: 1.867 MB / 0.9825 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