Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.0007571/0.0007571, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.001869, 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.0006979/0.0006979, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009343/0.001632, 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.9909/0.9909, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1184/1.109, allocations: 53.66 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.916/1.916, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5546/2.471, allocations: 123.3 MB / 0.7283 GB, free: 5.711 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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.925e-06/2.925e-06, allocations: 0 / 0.7297 GB, free: 4.387 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.609e-05, allocations: 6.453 kB / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002467/0.002503, allocations: 0.8788 MB / 0.7305 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001108/0.002614, allocations: 47.72 kB / 0.7306 GB, free: 3.492 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.88e-05/0.002663, allocations: 1.594 kB / 0.7306 GB, free: 3.492 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.847e-05/0.002701, allocations: 12.36 kB / 0.7306 GB, free: 3.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.357e-05/0.002755, allocations: 14.92 kB / 0.7306 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.398e-05/0.002799, allocations: 15.98 kB / 0.7306 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.00292, allocations: 62.03 kB / 0.7307 GB, free: 3.402 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.003049, allocations: 36.95 kB / 0.7307 GB, free: 3.367 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.003159, allocations: 38.83 kB / 0.7307 GB, free: 3.336 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.638e-05/0.003216, allocations: 20.48 kB / 0.7308 GB, free: 3.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.003245, allocations: 8.047 kB / 0.7308 GB, free: 3.312 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.003256, allocations: 4 kB / 0.7308 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.003283, allocations: 8.656 kB / 0.7308 GB, free: 3.301 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.726e-05/0.00331, allocations: 15.94 kB / 0.7308 GB, free: 3.285 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.003442, allocations: 52.42 kB / 0.7308 GB, free: 3.234 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.719e-05/0.003459, allocations: 0 / 0.7308 GB, free: 3.234 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.12e-07/0.00346, allocations: 0.625 kB / 0.7308 GB, free: 3.234 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.003478, allocations: 0 / 0.7308 GB, free: 3.234 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.0005303/0.004009, allocations: 289.2 kB / 0.7311 GB, free: 2.926 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.004052, allocations: 8.031 kB / 0.7311 GB, free: 2.918 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.004094, allocations: 17.73 kB / 0.7311 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.004275, allocations: 133.6 kB / 0.7313 GB, free: 2.746 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.00429, allocations: 9.656 kB / 0.7313 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.004306, allocations: 4.375 kB / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.004441, allocations: 84.8 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.00445, allocations: 0.7188 kB / 0.7314 GB, free: 2.641 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.00446, allocations: 4.375 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.004469, allocations: 6.094 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.906e-05/0.004508, allocations: 19.88 kB / 0.7314 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004773/0.004985, allocations: 0.5011 MB / 0.7319 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.075e-05/0.005066, allocations: 170 kB / 0.732 GB, free: 1.902 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.005096, allocations: 80.14 kB / 0.7321 GB, free: 1.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.005122, allocations: 75.78 kB / 0.7322 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.005171, allocations: 109.8 kB / 0.7323 GB, free: 1.629 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 2.375e-06/0.005174, allocations: 5.562 kB / 0.7323 GB, free: 1.625 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.846e-05/0.005242, allocations: 33.73 kB / 0.7323 GB, free: 1.586 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.0053, allocations: 126.7 kB / 0.7325 GB, free: 1.449 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.005421, allocations: 148.8 kB / 0.7326 GB, free: 1.293 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.005433, allocations: 26.61 kB / 0.7326 GB, free: 1.262 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.005627, allocations: 127.8 kB / 0.7327 GB, free: 1.133 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-06/0.005631, allocations: 1.25 kB / 0.7328 GB, free: 1.133 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.005668, allocations: 29.66 kB / 0.7328 GB, free: 1.098 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.278e-05/0.00576, allocations: 318.8 kB / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.203e-05/0.005772, allocations: 4 kB / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.005812, allocations: 56.59 kB / 0.7331 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.708e-05/0.005889, allocations: 76.61 kB / 0.7332 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.005894, allocations: 4 kB / 0.7332 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001212/0.006015, allocations: 76.3 kB / 0.7333 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.006032, allocations: 8 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.006039, allocations: 0 / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.006056, allocations: 4.531 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.742e-05/0.006124, allocations: 13.38 kB / 0.7333 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.006131, allocations: 7.938 kB / 0.7333 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.582e-05/0.006167, allocations: 11.92 kB / 0.7333 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.006172, allocations: 4 kB / 0.7333 GB, free: 480 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.505e-05/0.006257, allocations: 193.6 kB / 0.7335 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.035e-05/0.006308, allocations: 110.1 kB / 0.7336 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.986e-05/0.006358, allocations: 112.8 kB / 0.7337 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.24e-05/0.00642, allocations: 180.3 kB / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.836e-05/0.006468, allocations: 185 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.953e-05/0.006518, allocations: 176.3 kB / 0.7343 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.006695, allocations: 342.5 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.063e-05/0.006726, allocations: 101 kB / 0.7347 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.099e-05/0.006757, allocations: 105 kB / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.006808, allocations: 112.9 kB / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-05/0.006856, allocations: 177 kB / 0.7351 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/0.006909, allocations: 184.2 kB / 0.7352 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-05/0.006961, allocations: 177 kB / 0.7354 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.674e-05/0.007008, allocations: 180.5 kB / 0.7356 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.007133, allocations: 324.2 kB / 0.7359 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.007193, allocations: 189.8 kB / 0.7361 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.00726, allocations: 101 kB / 0.7362 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.007422, allocations: 176.3 kB / 0.7363 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.007454, allocations: 108.9 kB / 0.7364 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.969e-05/0.007494, allocations: 28.02 kB / 0.7365 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007494, allocations: 0 / 0.7365 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002028/0.007697, allocations: 11.95 kB / 0.7365 GB, free: 13.09 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.0001503/0.007847, allocations: 160.9 kB / 0.7366 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.531e-05/0.007942, allocations: 26.05 kB / 0.7366 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.007949, allocations: 0 / 0.7366 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.672e-06/0.007956, allocations: 14.94 kB / 0.7367 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.008251, allocations: 475.6 kB / 0.7371 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002898/0.008541, allocations: 224 kB / 0.7373 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.245e-05/0.008583, allocations: 60.28 kB / 0.7374 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.348e-05/0.008637, allocations: 11.75 kB / 0.7374 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.008678, allocations: 51.38 kB / 0.7374 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.008678, allocations: 0 / 0.7374 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.002275/0.01095, allocations: 273.6 kB / 0.7377 GB, free: 11.78 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.958158684894443]