Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.693/1.693, allocations: 177.2 MB / 203.9 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.04/3.04, allocations: 377.8 MB / 0.6232 GB, free: 8.504 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.8108 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.035e-05/4.262e-05, allocations: 2.312 kB / 0.8108 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00491/0.004953, allocations: 2.054 MB / 0.8128 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003048/0.008001, allocations: 1.149 MB / 0.814 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.008244, allocations: 4 kB / 0.814 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000639/0.008883, allocations: 112.8 kB / 0.8141 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002433/0.009127, allocations: 53.34 kB / 0.8141 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.01027, allocations: 261.1 kB / 0.8144 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006211/0.01089, allocations: 311.1 kB / 0.8147 GB, free: 13 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.0111, allocations: 68.98 kB / 0.8147 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002864/0.01139, allocations: 155.7 kB / 0.8149 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002309/0.01162, allocations: 103.7 kB / 0.815 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.01169, allocations: 33.75 kB / 0.815 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005525/0.01224, allocations: 227.7 kB / 0.8152 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.0124, allocations: 99.67 kB / 0.8153 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.01258, allocations: 99.75 kB / 0.8154 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.01371, allocations: 0.6076 MB / 0.816 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.01372, allocations: 5.188 kB / 0.816 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.312e-06/0.01372, allocations: 0 / 0.816 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.01373, allocations: 0 / 0.816 GB, free: 11.62 MB / 0.7292 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.001695/0.01543, allocations: 0.7356 MB / 0.8167 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.01548, allocations: 8.031 kB / 0.8167 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.01563, allocations: 52.7 kB / 0.8168 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005253/0.01615, allocations: 266.7 kB / 0.817 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.01618, allocations: 12.66 kB / 0.8171 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.01622, allocations: 16.91 kB / 0.8171 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008034/0.01702, allocations: 378.2 kB / 0.8174 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.01703, allocations: 192 / 0.8174 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.01706, allocations: 9.031 kB / 0.8174 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.01708, allocations: 7.938 kB / 0.8175 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008123/0.01789, allocations: 363.5 kB / 0.8178 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.01904, allocations: 0.5343 MB / 0.8183 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006896/0.01973, allocations: 312.5 kB / 0.8186 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/0.02024, allocations: 271.2 kB / 0.8189 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.02026, allocations: 6.062 kB / 0.8189 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.02029, allocations: 34.5 kB / 0.8189 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.02029, allocations: 0 / 0.8189 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.001766/0.02206, allocations: 0.855 MB / 0.8198 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.02218, allocations: 136.6 kB / 0.8199 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005037/0.02269, allocations: 352.4 kB / 0.8202 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.02273, allocations: 35.45 kB / 0.8203 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002937/0.02302, allocations: 168.5 kB / 0.8204 GB, free: 6.809 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/0.02308, allocations: 39.64 kB / 0.8205 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.02321, allocations: 49.7 kB / 0.8205 GB, free: 6.715 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.02343, allocations: 339.3 kB / 0.8208 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000647/0.02407, allocations: 424.3 kB / 0.8212 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/0.02473, allocations: 414.9 kB / 0.8216 GB, free: 5.484 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.02589, allocations: 0.7035 MB / 0.8223 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.02589, allocations: 0 / 0.8223 GB, free: 4.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001514/0.0274, allocations: 0.931 MB / 0.8232 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.02758, allocations: 178.2 kB / 0.8234 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.02759, allocations: 5.828 kB / 0.8234 GB, free: 3.504 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.02761, allocations: 4 kB / 0.8234 GB, free: 3.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.02779, allocations: 27.97 kB / 0.8234 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.02779, allocations: 1.031 kB / 0.8234 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.02803, allocations: 36.95 kB / 0.8235 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.498e-05/0.02807, allocations: 12 kB / 0.8235 GB, free: 3.426 MB / 0.7292 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.0003178/0.02839, allocations: 259.9 kB / 0.8237 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.02849, allocations: 43.75 kB / 0.8238 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.471e-05/0.02856, allocations: 25.95 kB / 0.8238 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.02856, allocations: 1.125 kB / 0.8238 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.02857, allocations: 0 / 0.8238 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.02857, allocations: 4 kB / 0.8238 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.02895, allocations: 245.8 kB / 0.824 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.02895, allocations: 3.984 kB / 0.824 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.02912, allocations: 28.56 kB / 0.8241 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.02912, allocations: 1.281 kB / 0.8241 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.02915, allocations: 11.94 kB / 0.8241 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.02915, allocations: 0 / 0.8241 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.02916, allocations: 1.938 kB / 0.8241 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.03041, allocations: 0.7163 MB / 0.8248 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.03048, allocations: 27.81 kB / 0.8248 GB, free: 1.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.03053, allocations: 11.94 kB / 0.8248 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.03075, allocations: 30.42 kB / 0.8248 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.0309, allocations: 27.97 kB / 0.8249 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.03092, allocations: 8 kB / 0.8249 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000349/0.03127, allocations: 251 kB / 0.8251 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.03127, allocations: 0 / 0.8251 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005462/0.03182, allocations: 113.5 kB / 0.8252 GB, free: 1.531 MB / 0.7292 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.0004311/0.03225, allocations: 167.1 kB / 0.8254 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001624/0.03387, allocations: 1.085 MB / 0.8264 GB, free: 148 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.03388, allocations: 0 / 0.8264 GB, free: 148 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007331/0.03461, allocations: 455.2 kB / 0.8269 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.03513, allocations: 80.55 kB / 0.827 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.03688, allocations: 0.733 MB / 0.8277 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.03714, allocations: 173.8 kB / 0.8278 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.03727, allocations: 25.62 kB / 0.8279 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/0.03734, allocations: 20.5 kB / 0.8279 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of SimCode: time 1.002e-06/0.03734, allocations: 4 kB / 0.8279 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of Templates: time 0.01477/0.05212, allocations: 6.292 MB / 0.834 GB, free: 8.383 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.947200170019642]