Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.001149/0.001149, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001579/0.002729, 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.001011/0.001011, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.002022, allocations: 479.5 kB / 11.82 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.9713/0.9713, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1108/1.082, allocations: 53.67 MB / 243.4 MB, free: 15.5 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 1.893/1.893, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5784/2.472, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 178] 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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.7297 GB, free: 4.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.937e-05, allocations: 2.844 kB / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002039/0.002059, allocations: 0.8775 MB / 0.7305 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001222/0.002181, allocations: 46.78 kB / 0.7306 GB, free: 3.523 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.00223, allocations: 7.938 kB / 0.7306 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.002268, allocations: 7.922 kB / 0.7306 GB, free: 3.508 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.564e-05/0.002323, allocations: 18.59 kB / 0.7306 GB, free: 3.492 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.517e-05/0.002368, allocations: 15.98 kB / 0.7306 GB, free: 3.477 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.002489, allocations: 56.94 kB / 0.7307 GB, free: 3.43 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.002607, allocations: 36.84 kB / 0.7307 GB, free: 3.395 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.002718, allocations: 46.75 kB / 0.7307 GB, free: 3.355 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.634e-05/0.002784, allocations: 19.84 kB / 0.7308 GB, free: 3.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.002809, allocations: 4 kB / 0.7308 GB, free: 3.336 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.002821, allocations: 8 kB / 0.7308 GB, free: 3.328 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.002848, allocations: 7.938 kB / 0.7308 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.002879, allocations: 17.53 kB / 0.7308 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.003006, allocations: 43.77 kB / 0.7308 GB, free: 3.262 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.487e-05/0.00302, allocations: 0 / 0.7308 GB, free: 3.262 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.31e-07/0.003021, allocations: 0 / 0.7308 GB, free: 3.262 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.00304, allocations: 0.9375 kB / 0.7308 GB, free: 3.262 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.000584/0.003624, allocations: 288.3 kB / 0.7311 GB, free: 2.953 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.003668, allocations: 8.531 kB / 0.7311 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.003721, allocations: 17.73 kB / 0.7311 GB, free: 2.93 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.003923, allocations: 137.5 kB / 0.7313 GB, free: 2.77 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.003939, allocations: 8.375 kB / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.00396, allocations: 9.156 kB / 0.7313 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.004102, allocations: 76.7 kB / 0.7314 GB, free: 2.668 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.004116, allocations: 8.688 kB / 0.7314 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.00413, allocations: 9.266 kB / 0.7314 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.00414, allocations: 4.375 kB / 0.7314 GB, free: 2.648 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.845e-05/0.004178, allocations: 15.94 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000475/0.004654, allocations: 0.5017 MB / 0.7319 GB, free: 2.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.217e-05/0.004736, allocations: 174.7 kB / 0.7321 GB, free: 1.918 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.004762, allocations: 84.14 kB / 0.7321 GB, free: 1.832 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.004786, allocations: 75.28 kB / 0.7322 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.2e-05/0.004828, allocations: 110.4 kB / 0.7323 GB, free: 1.641 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.004829, allocations: 0 / 0.7323 GB, free: 1.641 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.459e-05/0.004894, allocations: 26.39 kB / 0.7323 GB, free: 1.609 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.004944, allocations: 132.1 kB / 0.7325 GB, free: 1.469 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.00505, allocations: 144.5 kB / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.005062, allocations: 29.64 kB / 0.7326 GB, free: 1.281 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.337e-05/0.005125, allocations: 127.8 kB / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-06/0.005128, allocations: 1.594 kB / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.005165, allocations: 25.67 kB / 0.7328 GB, free: 1.121 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.005316, allocations: 322.8 kB / 0.7331 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-06/0.005323, allocations: 4 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/0.005362, allocations: 59.66 kB / 0.7331 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.148e-05/0.005434, allocations: 73.73 kB / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.005436, allocations: 0 / 0.7332 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001219/0.005558, allocations: 83.36 kB / 0.7333 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.005573, allocations: 7.281 kB / 0.7333 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.00558, allocations: 5.125 kB / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.0056, allocations: 0 / 0.7333 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.005665, allocations: 12 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.005671, allocations: 5.344 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.005711, allocations: 11.92 kB / 0.7333 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.005718, allocations: 4 kB / 0.7333 GB, free: 0.4922 MB / 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 9.08e-05/0.005809, allocations: 198.2 kB / 0.7335 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.005859, allocations: 101 kB / 0.7336 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.141e-05/0.005911, allocations: 116.7 kB / 0.7337 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.844e-05/0.005979, allocations: 189.5 kB / 0.7339 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-05/0.006024, allocations: 176.3 kB / 0.7341 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.994e-05/0.006074, allocations: 188.1 kB / 0.7343 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.00626, allocations: 334.4 kB / 0.7346 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.027e-05/0.00629, allocations: 104.9 kB / 0.7347 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.006322, allocations: 105 kB / 0.7348 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.006371, allocations: 109.5 kB / 0.7349 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-05/0.006428, allocations: 184.2 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.263e-05/0.006481, allocations: 177.5 kB / 0.7352 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.124e-05/0.006542, allocations: 180.2 kB / 0.7354 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.118e-05/0.006593, allocations: 188.5 kB / 0.7356 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.006703, allocations: 308.4 kB / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.006763, allocations: 184.2 kB / 0.736 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-05/0.006836, allocations: 106.1 kB / 0.7362 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.006896, allocations: 176.3 kB / 0.7363 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/0.007036, allocations: 105 kB / 0.7364 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.007075, allocations: 35.33 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.007075, allocations: 0.75 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002256/0.0073, 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.0001027/0.007403, allocations: 156.4 kB / 0.7366 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.053e-05/0.007484, allocations: 34.56 kB / 0.7366 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.007491, allocations: 4.719 kB / 0.7367 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.975e-06/0.007494, allocations: 0 / 0.7367 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.007785, allocations: 480.8 kB / 0.7371 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.008044, allocations: 224 kB / 0.7373 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.012e-05/0.008084, allocations: 63.47 kB / 0.7374 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.032e-05/0.008124, allocations: 8.719 kB / 0.7374 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.008164, allocations: 55.38 kB / 0.7374 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.008165, allocations: 3.031 kB / 0.7374 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.002048/0.01021, allocations: 262.3 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.From_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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: 4.976351898163557]