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.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.002452/0.002452, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002832/0.002832, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.702/1.702, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.527/3.527, allocations: 429.5 MB / 0.6729 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.8775 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.444e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004672/0.004707, allocations: 2.094 MB / 0.8795 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002241/0.006948, allocations: 1.166 MB / 0.8807 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.007063, allocations: 4 kB / 0.8807 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004991/0.007562, allocations: 115.2 kB / 0.8808 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.007697, allocations: 49.08 kB / 0.8808 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008374/0.008534, allocations: 269.6 kB / 0.8811 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.008995, allocations: 307.2 kB / 0.8814 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.009194, allocations: 63.52 kB / 0.8814 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.009422, allocations: 156.6 kB / 0.8816 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.009613, allocations: 99.75 kB / 0.8817 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.188e-05/0.009674, allocations: 28.59 kB / 0.8817 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004869/0.01016, allocations: 239.7 kB / 0.8819 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.01029, allocations: 95.69 kB / 0.882 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001397/0.01043, allocations: 99.69 kB / 0.8821 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008635/0.01129, allocations: 0.6115 MB / 0.8827 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.0113, allocations: 0 / 0.8827 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.283e-06/0.0113, allocations: 0 / 0.8827 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.01131, allocations: 4 kB / 0.8827 GB, free: 1.156 MB / 0.8386 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.001353/0.01266, allocations: 0.8522 MB / 0.8836 GB, free: 232 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.01271, allocations: 8.031 kB / 0.8836 GB, free: 224 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.01283, allocations: 52.75 kB / 0.8836 GB, free: 172 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.01329, allocations: 244.9 kB / 0.8838 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.01332, allocations: 16.66 kB / 0.8839 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.01336, allocations: 20.36 kB / 0.8839 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006236/0.01398, allocations: 356.2 kB / 0.8842 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.01399, allocations: 3.938 kB / 0.8842 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.01402, allocations: 8 kB / 0.8842 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.01403, allocations: 0 / 0.8842 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005917/0.01462, allocations: 325.5 kB / 0.8845 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.01579, allocations: 0.6395 MB / 0.8852 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.0164, allocations: 308.2 kB / 0.8855 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007145/0.01711, allocations: 268.7 kB / 0.8857 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.01713, allocations: 4 kB / 0.8857 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.01717, allocations: 37.39 kB / 0.8858 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.01717, allocations: 0 / 0.8858 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.001401/0.01857, allocations: 0.8052 MB / 0.8865 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.01868, allocations: 136.5 kB / 0.8867 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/0.01918, allocations: 406.3 kB / 0.8871 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.01922, allocations: 33.7 kB / 0.8871 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.01942, allocations: 243.2 kB / 0.8873 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-05/0.01948, allocations: 47.77 kB / 0.8874 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.0196, allocations: 63.3 kB / 0.8874 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003289/0.01993, allocations: 0.5352 MB / 0.888 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/0.02042, allocations: 358.1 kB / 0.8883 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/0.0209, allocations: 365.4 kB / 0.8886 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008949/0.0218, allocations: 0.6416 MB / 0.8893 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.0218, allocations: 4 kB / 0.8893 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001173/0.02297, allocations: 0.8062 MB / 0.8901 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.02313, allocations: 178.2 kB / 0.8902 GB, free: 8.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.02314, allocations: 4 kB / 0.8902 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.02316, allocations: 0 / 0.8902 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.0233, allocations: 19.98 kB / 0.8903 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.0233, allocations: 0 / 0.8903 GB, free: 8.809 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.02347, allocations: 35.83 kB / 0.8903 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.0235, allocations: 8 kB / 0.8903 GB, free: 8.766 MB / 0.8542 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.0002784/0.02378, allocations: 277.5 kB / 0.8906 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.02387, allocations: 35.86 kB / 0.8906 GB, free: 8.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.341e-05/0.02392, allocations: 21.95 kB / 0.8906 GB, free: 8.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.02392, allocations: 4 kB / 0.8906 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.02393, allocations: 0 / 0.8906 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.02393, allocations: 0 / 0.8906 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.02437, allocations: 308.4 kB / 0.8909 GB, free: 8.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.02437, allocations: 4 kB / 0.8909 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.02449, allocations: 19.98 kB / 0.8909 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.02449, allocations: 4 kB / 0.8909 GB, free: 8.043 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.02452, allocations: 8 kB / 0.891 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.02452, allocations: 0 / 0.891 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.02452, allocations: 0 / 0.891 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.02558, allocations: 0.7437 MB / 0.8917 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.02565, allocations: 27.8 kB / 0.8917 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.02569, allocations: 7.984 kB / 0.8917 GB, free: 7.199 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.02586, allocations: 23.98 kB / 0.8917 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/0.02601, allocations: 31.95 kB / 0.8918 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.02603, allocations: 8 kB / 0.8918 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002928/0.02632, allocations: 259 kB / 0.892 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02632, allocations: 0 / 0.892 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004805/0.0268, allocations: 107.8 kB / 0.8921 GB, free: 6.781 MB / 0.8542 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.0003646/0.02717, allocations: 163.1 kB / 0.8923 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001707/0.02887, allocations: 1.015 MB / 0.8933 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02888, allocations: 0 / 0.8933 GB, free: 5.461 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.02947, allocations: 466.8 kB / 0.8937 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004932/0.02997, allocations: 74.8 kB / 0.8938 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.03127, allocations: 0.6916 MB / 0.8945 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.03149, allocations: 177.8 kB / 0.8946 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.308e-05/0.03156, allocations: 17.62 kB / 0.8946 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.129e-05/0.03163, allocations: 28.44 kB / 0.8947 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of SimCode: time 1.232e-06/0.03164, allocations: 0 / 0.8947 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of Templates: time 0.01366/0.04529, allocations: 6.293 MB / 0.9008 GB, free: 13.74 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 240] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.530284661916085]