Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00134/0.00134, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002082/0.003421, allocations: 449.8 kB / 10.44 MB, free: 252 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.001129/0.001129, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001552/0.002681, allocations: 479.5 kB / 11.83 MB, free: 2.344 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.9498/0.9498, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1192/1.069, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.02/2.02, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5495/2.57, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.549e-05, allocations: 4.422 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002434/0.002459, allocations: 0.8767 MB / 0.7305 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001142/0.002573, allocations: 43.78 kB / 0.7306 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.002621, allocations: 0 / 0.7306 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.352e-05/0.002655, allocations: 11.86 kB / 0.7306 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.407e-05/0.002709, allocations: 20.89 kB / 0.7306 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.446e-05/0.002754, allocations: 15.98 kB / 0.7306 GB, free: 3.473 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.002864, allocations: 61.16 kB / 0.7307 GB, free: 3.422 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.002974, allocations: 29.52 kB / 0.7307 GB, free: 3.395 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.003085, allocations: 53.36 kB / 0.7307 GB, free: 3.348 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.003131, allocations: 11.7 kB / 0.7308 GB, free: 3.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.003154, allocations: 4.5 kB / 0.7308 GB, free: 3.336 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.979e-06/0.003163, allocations: 4 kB / 0.7308 GB, free: 3.332 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.299e-05/0.003186, allocations: 13.95 kB / 0.7308 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.003216, allocations: 15.94 kB / 0.7308 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.003334, allocations: 51.7 kB / 0.7308 GB, free: 3.254 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.003349, allocations: 0.8438 kB / 0.7308 GB, free: 3.254 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.01e-07/0.003349, allocations: 0 / 0.7308 GB, free: 3.254 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.003364, allocations: 0.5312 kB / 0.7308 GB, free: 3.254 MB / 0.698 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.0004801/0.003845, allocations: 286 kB / 0.7311 GB, free: 2.949 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.003891, allocations: 12.03 kB / 0.7311 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.003935, allocations: 8.922 kB / 0.7311 GB, free: 2.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.004119, allocations: 145.5 kB / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.004129, allocations: 384 / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.004148, allocations: 13.19 kB / 0.7313 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.004288, allocations: 76.72 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.004298, allocations: 1.719 kB / 0.7314 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.004308, allocations: 4.312 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.004317, allocations: 4.375 kB / 0.7314 GB, free: 2.656 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.004359, allocations: 19.92 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004681/0.004828, allocations: 0.5058 MB / 0.7319 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.892e-05/0.004906, allocations: 174.2 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.004934, allocations: 80.14 kB / 0.7321 GB, free: 1.836 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.004957, allocations: 75.28 kB / 0.7322 GB, free: 1.762 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.005001, allocations: 107.6 kB / 0.7323 GB, free: 1.648 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.005002, allocations: 0 / 0.7323 GB, free: 1.648 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.467e-05/0.005066, allocations: 29.7 kB / 0.7323 GB, free: 1.613 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.005115, allocations: 126.7 kB / 0.7325 GB, free: 1.477 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.005227, allocations: 153.1 kB / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.196e-06/0.005236, allocations: 25.7 kB / 0.7326 GB, free: 1.285 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.005298, allocations: 128.8 kB / 0.7327 GB, free: 1.156 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-06/0.005301, allocations: 0 / 0.7327 GB, free: 1.156 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.005335, allocations: 25.67 kB / 0.7328 GB, free: 1.125 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.444e-05/0.00543, allocations: 327.3 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.005439, allocations: 5.125 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.239e-05/0.005481, allocations: 58.84 kB / 0.7331 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.48e-05/0.005556, allocations: 73.52 kB / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005558, allocations: 0 / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.005676, allocations: 80.08 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.005692, allocations: 11.28 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.005698, allocations: 0 / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.005715, allocations: 4.781 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.223e-05/0.005777, allocations: 12 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.005784, allocations: 9.234 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.544e-05/0.005819, allocations: 7.938 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.005825, allocations: 8 kB / 0.7333 GB, free: 500 kB / 0.698 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.096e-05/0.005906, allocations: 190.2 kB / 0.7335 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.00596, allocations: 105 kB / 0.7336 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.304e-05/0.006013, allocations: 120.7 kB / 0.7337 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-05/0.006087, allocations: 181.5 kB / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.875e-05/0.006146, allocations: 184.2 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-05/0.006202, allocations: 184.2 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.006394, allocations: 330.4 kB / 0.7346 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.891e-05/0.006442, allocations: 108.9 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.006474, allocations: 105 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/0.006518, allocations: 109.5 kB / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.486e-05/0.006573, allocations: 185.8 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.124e-05/0.006665, allocations: 180.3 kB / 0.7352 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-05/0.006716, allocations: 180.2 kB / 0.7354 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.306e-05/0.006769, allocations: 180.5 kB / 0.7356 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.006891, allocations: 312.9 kB / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.007026, allocations: 180.2 kB / 0.736 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.995e-05/0.007096, allocations: 112.9 kB / 0.7362 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.007144, allocations: 176.3 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.007171, allocations: 101.9 kB / 0.7364 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.533e-05/0.007206, allocations: 34.83 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007206, allocations: 0.5938 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002237/0.00743, allocations: 11.95 kB / 0.7365 GB, free: 13.11 MB / 0.7136 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 0.0001011/0.007531, allocations: 153.2 kB / 0.7366 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.109e-05/0.007612, allocations: 38.97 kB / 0.7367 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.007618, allocations: 0 / 0.7367 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.035e-06/0.007621, allocations: 0 / 0.7367 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.007899, allocations: 480.2 kB / 0.7371 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.00816, allocations: 230 kB / 0.7373 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.007e-05/0.0082, allocations: 60.05 kB / 0.7374 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.125e-05/0.008242, allocations: 11.16 kB / 0.7374 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.008282, allocations: 51.38 kB / 0.7374 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.008282, allocations: 3.938 kB / 0.7374 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.002113/0.0104, allocations: 271.6 kB / 0.7377 GB, free: 11.8 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.06808580365032]