Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.0009409/0.0009409, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00119/0.002131, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0008225/0.0008225, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.001869, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9645/0.9645, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09459/1.059, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.713/2.713, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.282/2.995, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.034e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002323/0.002354, allocations: 0.8621 MB / 0.8191 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001335/0.002487, allocations: 51.66 kB / 0.8192 GB, free: 1.965 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.002544, allocations: 4 kB / 0.8192 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.002582, allocations: 7.875 kB / 0.8192 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.379e-05/0.002646, allocations: 15.86 kB / 0.8192 GB, free: 1.938 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 5.106e-05/0.002697, allocations: 19.97 kB / 0.8192 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.002815, allocations: 55.8 kB / 0.8193 GB, free: 1.863 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.002946, allocations: 43.91 kB / 0.8193 GB, free: 1.82 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.003054, allocations: 47.89 kB / 0.8194 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.135e-05/0.003105, allocations: 15.92 kB / 0.8194 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.003129, allocations: 4 kB / 0.8194 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.003142, allocations: 8 kB / 0.8194 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.837e-05/0.00316, allocations: 7.938 kB / 0.8194 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.003196, allocations: 15.94 kB / 0.8194 GB, free: 1.723 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.003318, allocations: 51.64 kB / 0.8195 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.86e-05/0.003337, allocations: 0 / 0.8195 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.12e-07/0.003337, allocations: 0 / 0.8195 GB, free: 1.672 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.812e-05/0.003356, allocations: 0 / 0.8195 GB, free: 1.672 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004486/0.003804, allocations: 288.3 kB / 0.8198 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.003853, allocations: 12.62 kB / 0.8198 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.003893, allocations: 20.91 kB / 0.8198 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.004056, allocations: 129.6 kB / 0.8199 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.004077, allocations: 16.27 kB / 0.8199 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.004089, allocations: 4.375 kB / 0.8199 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.004211, allocations: 74.3 kB / 0.82 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.004221, allocations: 192 / 0.82 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.004232, allocations: 4.375 kB / 0.82 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.00424, allocations: 4.375 kB / 0.82 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.848e-05/0.004279, allocations: 23.86 kB / 0.82 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004327/0.004711, allocations: 0.505 MB / 0.8205 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.414e-05/0.004795, allocations: 169.1 kB / 0.8207 GB, free: 344 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.004819, allocations: 80.14 kB / 0.8208 GB, free: 260 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.004843, allocations: 75.38 kB / 0.8208 GB, free: 184 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.004882, allocations: 121.8 kB / 0.821 GB, free: 52 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.004883, allocations: 0 / 0.821 GB, free: 52 kB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 5.088e-05/0.004934, allocations: 25.7 kB / 0.821 GB, free: 20 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.004995, allocations: 130.7 kB / 0.8211 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.005082, allocations: 138.6 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.005092, allocations: 29.7 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.529e-05/0.005147, allocations: 135.7 kB / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-06/0.005152, allocations: 0 / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.727e-05/0.005179, allocations: 25.67 kB / 0.8214 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.547e-05/0.005265, allocations: 326.8 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.779e-06/0.005269, allocations: 0 / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.529e-05/0.005305, allocations: 58.8 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.648e-05/0.005361, allocations: 70.84 kB / 0.8218 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.005364, allocations: 4 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001024/0.005467, allocations: 73.48 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.005483, allocations: 8 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.005488, allocations: 0 / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.005501, allocations: 8.25 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.536e-05/0.005566, allocations: 19.92 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.005572, allocations: 4 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.543e-05/0.005607, allocations: 11.88 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.005613, allocations: 4 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 8.917e-05/0.005702, allocations: 189.1 kB / 0.8222 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.005752, allocations: 105 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.005799, allocations: 116.8 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.154e-05/0.005851, allocations: 180.2 kB / 0.8225 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.284e-05/0.005903, allocations: 180.3 kB / 0.8227 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.744e-05/0.005951, allocations: 184.2 kB / 0.8229 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/0.006131, allocations: 341.3 kB / 0.8232 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/0.00616, allocations: 105 kB / 0.8233 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.006195, allocations: 104.9 kB / 0.8234 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.006243, allocations: 108.9 kB / 0.8235 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.003e-05/0.006293, allocations: 180.2 kB / 0.8237 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.006344, allocations: 184.2 kB / 0.8239 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.842e-05/0.006392, allocations: 176.3 kB / 0.824 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.894e-05/0.006441, allocations: 180.2 kB / 0.8242 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.006553, allocations: 315.7 kB / 0.8245 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.00661, allocations: 180.3 kB / 0.8247 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.00668, allocations: 105 kB / 0.8248 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.006738, allocations: 180.2 kB / 0.825 GB, free: 11.67 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.006773, allocations: 105 kB / 0.8251 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.358e-05/0.006807, allocations: 36.25 kB / 0.8251 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006807, allocations: 3.938 kB / 0.8251 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001836/0.006991, allocations: 11.95 kB / 0.8251 GB, free: 11.51 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 9.756e-05/0.007088, allocations: 151.7 kB / 0.8252 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.941e-05/0.007168, allocations: 33.17 kB / 0.8253 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.007174, allocations: 3.984 kB / 0.8253 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.007177, allocations: 4 kB / 0.8253 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.007423, allocations: 467.6 kB / 0.8257 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002702/0.007693, allocations: 220.4 kB / 0.8259 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.68e-05/0.00773, allocations: 59.34 kB / 0.826 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.989e-05/0.00777, allocations: 12.7 kB / 0.826 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.007803, allocations: 51.44 kB / 0.8261 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.007803, allocations: 8 kB / 0.8261 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of Templates: time 0.02543/0.03323, allocations: 344.7 kB / 0.8264 GB, free: 10.12 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.681676581501961]