Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0008732/0.0008732, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.002058, 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.000709/0.000709, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009649/0.001674, 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.934/0.934, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09206/1.026, 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.94/1.94, allocations: 378.3 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5554/2.495, allocations: 123.3 MB / 0.7283 GB, free: 5.703 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/3.002e-05, allocations: 4.188 kB / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002027/0.002057, allocations: 0.8727 MB / 0.7305 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001159/0.002173, allocations: 52.38 kB / 0.7306 GB, free: 3.492 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.656e-05/0.002219, allocations: 0 / 0.7306 GB, free: 3.492 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.105e-05/0.00225, allocations: 7.875 kB / 0.7306 GB, free: 3.484 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.002304, allocations: 20.97 kB / 0.7306 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.56e-05/0.00234, allocations: 15.98 kB / 0.7306 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.002451, allocations: 61.05 kB / 0.7307 GB, free: 3.402 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.002568, allocations: 32.84 kB / 0.7307 GB, free: 3.371 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/0.002663, allocations: 47.19 kB / 0.7307 GB, free: 3.332 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.002706, allocations: 17.66 kB / 0.7308 GB, free: 3.316 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.002726, allocations: 6.625 kB / 0.7308 GB, free: 3.312 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.047e-06/0.002735, allocations: 8 kB / 0.7308 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.977e-05/0.002755, allocations: 7.938 kB / 0.7308 GB, free: 3.297 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.348e-05/0.002779, allocations: 15.94 kB / 0.7308 GB, free: 3.281 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.474e-05/0.002873, allocations: 43.72 kB / 0.7308 GB, free: 3.238 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.352e-05/0.002887, allocations: 0 / 0.7308 GB, free: 3.238 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.11e-07/0.002887, allocations: 0 / 0.7308 GB, free: 3.238 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.346e-05/0.002901, allocations: 0.5 kB / 0.7308 GB, free: 3.238 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.0003911/0.003292, allocations: 297.7 kB / 0.7311 GB, free: 2.922 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.003326, allocations: 8.031 kB / 0.7311 GB, free: 2.914 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.003359, allocations: 12.92 kB / 0.7311 GB, free: 2.902 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.003511, allocations: 133.6 kB / 0.7313 GB, free: 2.746 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.003522, allocations: 12.83 kB / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.003537, allocations: 9.312 kB / 0.7313 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.003662, allocations: 80.66 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.003671, allocations: 192 / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.003679, allocations: 0.9688 kB / 0.7314 GB, free: 2.637 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.003688, allocations: 5.062 kB / 0.7314 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.351e-05/0.003732, allocations: 23.86 kB / 0.7314 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.004231, allocations: 0.4978 MB / 0.7319 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.303e-05/0.004314, allocations: 178.2 kB / 0.732 GB, free: 1.895 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.004342, allocations: 80.14 kB / 0.7321 GB, free: 1.812 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.004366, allocations: 80.27 kB / 0.7322 GB, free: 1.734 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.004412, allocations: 109.8 kB / 0.7323 GB, free: 1.617 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.004413, allocations: 0 / 0.7323 GB, free: 1.617 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.523e-05/0.004478, allocations: 31.45 kB / 0.7323 GB, free: 1.582 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.525e-05/0.004533, allocations: 130.7 kB / 0.7325 GB, free: 1.441 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.004635, allocations: 144.8 kB / 0.7326 GB, free: 1.289 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.004646, allocations: 29.69 kB / 0.7326 GB, free: 1.254 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.004703, allocations: 123.8 kB / 0.7327 GB, free: 1.129 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-06/0.004706, allocations: 0.8125 kB / 0.7327 GB, free: 1.129 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.004737, allocations: 25.67 kB / 0.7328 GB, free: 1.098 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.955e-05/0.004826, allocations: 327.2 kB / 0.7331 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.342e-06/0.004833, allocations: 1.125 kB / 0.7331 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.27e-05/0.004865, allocations: 54.88 kB / 0.7331 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.433e-05/0.00493, allocations: 73.34 kB / 0.7332 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.004932, allocations: 0.875 kB / 0.7332 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000113/0.005045, allocations: 80.3 kB / 0.7333 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.005062, allocations: 10.8 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.00507, allocations: 4 kB / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.005085, allocations: 0 / 0.7333 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.776e-05/0.005143, allocations: 20 kB / 0.7333 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.005147, allocations: 5.125 kB / 0.7333 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.005171, allocations: 7.938 kB / 0.7333 GB, free: 484 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.005176, 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 7.855e-05/0.005254, allocations: 193.7 kB / 0.7335 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.005296, allocations: 110 kB / 0.7336 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.192e-05/0.005338, allocations: 112.7 kB / 0.7337 GB, free: 36 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.902e-05/0.005407, allocations: 184.3 kB / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.692e-05/0.005464, allocations: 188.8 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.635e-05/0.00551, allocations: 176.3 kB / 0.7343 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.005677, allocations: 342.5 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.658e-05/0.005713, allocations: 101 kB / 0.7347 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.339e-05/0.005747, allocations: 101 kB / 0.7348 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.131e-05/0.005798, allocations: 118.1 kB / 0.7349 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.835e-05/0.005857, allocations: 180.3 kB / 0.7351 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.297e-05/0.005919, allocations: 184.2 kB / 0.7352 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.472e-05/0.005974, allocations: 177.3 kB / 0.7354 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.044e-05/0.006025, allocations: 180.5 kB / 0.7356 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.006152, allocations: 311.7 kB / 0.7359 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.006213, allocations: 184.7 kB / 0.736 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.128e-05/0.006265, allocations: 101 kB / 0.7361 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.006334, allocations: 193.8 kB / 0.7363 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.006364, allocations: 101 kB / 0.7364 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.335e-05/0.006398, allocations: 26.55 kB / 0.7364 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006398, allocations: 0 / 0.7364 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001416/0.006539, allocations: 13.17 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.0001044/0.006644, allocations: 151.7 kB / 0.7366 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.344e-05/0.006717, allocations: 38.88 kB / 0.7366 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.006725, allocations: 4 kB / 0.7366 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.006727, allocations: 0.75 kB / 0.7366 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.0002419/0.006969, allocations: 476.4 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.0002378/0.007207, allocations: 229.3 kB / 0.7373 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.007245, allocations: 60.28 kB / 0.7374 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.007284, allocations: 13.95 kB / 0.7374 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.007324, allocations: 55.38 kB / 0.7374 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.007325, allocations: 1.031 kB / 0.7374 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of Templates: time 0.001786/0.009111, allocations: 263.3 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.To_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_quad/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 5.007273589260876]