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.001593/0.001593, allocations: 107 kB / 16.36 MB, free: 5.824 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.001892/0.001892, allocations: 189.1 kB / 17.29 MB, free: 5.48 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.44/2.44, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.8 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2846, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00357/0.2882, allocations: 2.114 MB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.2902, allocations: 1.181 MB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.2904, allocations: 4 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.2908, allocations: 111.4 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.2909, allocations: 51.52 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000683/0.2916, allocations: 262.7 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003226/0.292, allocations: 319.2 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.2921, allocations: 98.97 kB / 1.031 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.2923, allocations: 103.7 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.2924, allocations: 123.5 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.124e-05/0.2925, allocations: 32 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003213/0.2928, allocations: 231.7 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.2929, allocations: 91.73 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.293, allocations: 151.1 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005355/0.2936, allocations: 0.553 MB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2936, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2936, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.2936, allocations: 0 / 1.032 GB, free: 12.64 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.00111/0.2947, allocations: 0.8087 MB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2948, allocations: 12.03 kB / 1.033 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.306e-05/0.2949, allocations: 32.56 kB / 1.033 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003964/0.2953, allocations: 320.4 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.2953, allocations: 12.66 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.523e-05/0.2953, allocations: 24.31 kB / 1.033 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.2959, allocations: 299.2 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2959, allocations: 0 / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.296, allocations: 8 kB / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.296, allocations: 0 / 1.033 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005907/0.2966, allocations: 268.9 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009298/0.2975, allocations: 0.6793 MB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005024/0.298, allocations: 226.6 kB / 1.035 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/0.2984, allocations: 192.7 kB / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.2984, allocations: 0 / 1.035 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2985, allocations: 34.56 kB / 1.035 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.2985, allocations: 0 / 1.035 GB, free: 9.559 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.001299/0.2998, allocations: 0.67 MB / 1.035 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.817e-05/0.2999, allocations: 144.5 kB / 1.036 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004024/0.3003, allocations: 384.5 kB / 1.036 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.3003, allocations: 29.7 kB / 1.036 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.3005, allocations: 164.3 kB / 1.036 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/0.3005, allocations: 47.36 kB / 1.036 GB, free: 8.055 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.622e-05/0.3006, allocations: 41.7 kB / 1.036 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3008, allocations: 346.8 kB / 1.037 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.3012, allocations: 239.8 kB / 1.037 GB, free: 7.426 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.3016, allocations: 241 kB / 1.037 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008673/0.3025, allocations: 0.6816 MB / 1.038 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3025, allocations: 4 kB / 1.038 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001048/0.3035, allocations: 0.7352 MB / 1.038 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.3037, allocations: 178.2 kB / 1.039 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3037, allocations: 3.984 kB / 1.039 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3037, allocations: 0 / 1.039 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3039, allocations: 31.97 kB / 1.039 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3039, allocations: 0 / 1.039 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.3041, allocations: 43.75 kB / 1.039 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.3041, allocations: 8 kB / 1.039 GB, free: 5.375 MB / 0.8106 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.0002093/0.3043, allocations: 262.8 kB / 1.039 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.293e-05/0.3044, allocations: 31.62 kB / 1.039 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.427e-05/0.3045, allocations: 30.94 kB / 1.039 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3045, allocations: 7.984 kB / 1.039 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3045, allocations: 0 / 1.039 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3045, allocations: 0 / 1.039 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.3048, allocations: 349.2 kB / 1.039 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3048, allocations: 0 / 1.039 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.305, allocations: 35.84 kB / 1.039 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.305, allocations: 4 kB / 1.039 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.3051, allocations: 11.94 kB / 1.039 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3051, allocations: 4 kB / 1.039 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3051, allocations: 0 / 1.039 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008824/0.306, allocations: 0.6095 MB / 1.04 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.309e-05/0.3061, allocations: 116.7 kB / 1.04 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.3061, allocations: 8 kB / 1.04 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002052/0.3063, allocations: 27.97 kB / 1.04 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.3064, allocations: 23.97 kB / 1.04 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3065, allocations: 4 kB / 1.04 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002726/0.3067, allocations: 283 kB / 1.04 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3067, allocations: 0 / 1.04 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004285/0.3072, allocations: 103.9 kB / 1.041 GB, free: 3.359 MB / 0.8106 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.0002835/0.3075, allocations: 163.2 kB / 1.041 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.3086, allocations: 0.8277 MB / 1.041 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.3086, allocations: 3.938 kB / 1.041 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004785/0.3091, allocations: 386 kB / 1.042 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.3095, allocations: 73.27 kB / 1.042 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/0.3105, allocations: 0.6397 MB / 1.043 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.3109, allocations: 0.7909 MB / 1.043 GB, free: 324 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.999e-05/0.311, allocations: 21.94 kB / 1.043 GB, free: 304 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.3111, allocations: 19.44 kB / 1.043 GB, free: 284 kB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3111, allocations: 0 / 1.043 GB, free: 284 kB / 0.8106 GB Notification: Performance of Templates: time 0.009852/0.3209, allocations: 5.953 MB / 1.049 GB, free: 10.42 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 -s cvode -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