Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001783/0.001783, allocations: 80.83 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002242/0.002242, allocations: 165.3 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.502/1.502, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.902/2.902, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 1 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.152e-05/4.373e-05, allocations: 6.281 kB / 1 GB, free: 6.215 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002639/0.002683, allocations: 0.7957 MB / 1.001 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0001985/0.002881, allocations: 43.78 kB / 1.001 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.002963, allocations: 4 kB / 1.001 GB, free: 5.375 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 5.132e-05/0.003014, allocations: 7.875 kB / 1.001 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.003117, allocations: 11.92 kB / 1.001 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 5.782e-05/0.003174, allocations: 19.97 kB / 1.001 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.003327, allocations: 67.78 kB / 1.001 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/0.003496, allocations: 23.97 kB / 1.001 GB, free: 5.246 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001298/0.003626, allocations: 39.89 kB / 1.001 GB, free: 5.207 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.733e-05/0.003683, allocations: 27.84 kB / 1.001 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.003713, allocations: 4 kB / 1.001 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 1.671e-05/0.00373, allocations: 8 kB / 1.001 GB, free: 5.168 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.654e-05/0.003756, allocations: 15.92 kB / 1.001 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.003799, allocations: 19.92 kB / 1.001 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.003996, allocations: 79.64 kB / 1.001 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.003999, allocations: 0 / 1.001 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.02e-07/0.004, allocations: 0 / 1.001 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.004011, allocations: 0 / 1.001 GB, free: 5.055 MB / 0.9044 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.0006406/0.004651, allocations: 309.9 kB / 1.002 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.004709, allocations: 8.031 kB / 1.002 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.004768, allocations: 12.89 kB / 1.002 GB, free: 4.699 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.005077, allocations: 133.6 kB / 1.002 GB, free: 4.543 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.005096, allocations: 4.375 kB / 1.002 GB, free: 4.539 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.00512, allocations: 8.375 kB / 1.002 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.005323, allocations: 97.81 kB / 1.002 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.005337, allocations: 4.172 kB / 1.002 GB, free: 4.422 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.00535, allocations: 8.312 kB / 1.002 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.005356, allocations: 384 / 1.002 GB, free: 4.414 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.005471, allocations: 43.86 kB / 1.002 GB, free: 4.371 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007093/0.00618, allocations: 352.4 kB / 1.002 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.006356, allocations: 41.28 kB / 1.002 GB, free: 3.934 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.006404, allocations: 17.84 kB / 1.002 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.006421, allocations: 4 kB / 1.002 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.006458, allocations: 34.56 kB / 1.002 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.00646, allocations: 4 kB / 1.002 GB, free: 3.859 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0002338/0.006693, allocations: 53.58 kB / 1.002 GB, free: 3.801 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.006757, allocations: 77.11 kB / 1.002 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.006979, allocations: 129.7 kB / 1.003 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.006999, allocations: 25.7 kB / 1.003 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.007147, allocations: 115.9 kB / 1.003 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.062e-05/0.007158, allocations: 3.953 kB / 1.003 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/0.00721, allocations: 17.97 kB / 1.003 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.007385, allocations: 318.8 kB / 1.003 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.354e-05/0.007408, allocations: 15.92 kB / 1.003 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.007439, allocations: 17.72 kB / 1.003 GB, free: 3.035 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.128e-05/0.00749, allocations: 25.72 kB / 1.003 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.007492, allocations: 0 / 1.003 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.996e-05/0.007592, allocations: 53.62 kB / 1.003 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.00761, allocations: 8 kB / 1.003 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.007616, allocations: 0 / 1.003 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.007632, allocations: 4.062 kB / 1.003 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.007713, allocations: 12 kB / 1.003 GB, free: 2.922 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.007722, allocations: 3.938 kB / 1.003 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.007751, allocations: 3.953 kB / 1.003 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.007756, allocations: 0 / 1.003 GB, free: 2.914 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 0.0001075/0.007864, allocations: 117.8 kB / 1.003 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.007914, allocations: 4 kB / 1.003 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.007944, allocations: 11.45 kB / 1.003 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.007946, allocations: 0 / 1.003 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.007952, allocations: 0 / 1.003 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.00796, allocations: 7.938 kB / 1.003 GB, free: 2.766 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.008412, allocations: 418.4 kB / 1.004 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.008415, allocations: 0 / 1.004 GB, free: 2.312 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.00844, allocations: 4 kB / 1.004 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.008443, allocations: 0 / 1.004 GB, free: 2.309 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.008453, allocations: 3.938 kB / 1.004 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.008458, allocations: 7.938 kB / 1.004 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008459, allocations: 0 / 1.004 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.008563, allocations: 69.98 kB / 1.004 GB, free: 2.207 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.008588, allocations: 12.05 kB / 1.004 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.008604, allocations: 7.938 kB / 1.004 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.804e-05/0.008622, allocations: 0 / 1.004 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.008643, allocations: 3.938 kB / 1.004 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.008649, allocations: 4 kB / 1.004 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.793e-05/0.008737, allocations: 106.6 kB / 1.004 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6e-08/0.008737, allocations: 0 / 1.004 GB, free: 2.078 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002091/0.008946, allocations: 11.95 kB / 1.004 GB, free: 2.066 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001497/0.009096, allocations: 95.23 kB / 1.004 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.734e-05/0.009193, allocations: 20 kB / 1.004 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.009195, allocations: 3.938 kB / 1.004 GB, free: 1.938 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.629e-05/0.009211, allocations: 7.938 kB / 1.004 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.009373, allocations: 4 kB / 1.004 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.009785, allocations: 166.5 kB / 1.004 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.127e-05/0.009866, allocations: 71.33 kB / 1.004 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.026e-05/0.009906, allocations: 16.31 kB / 1.004 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.009934, allocations: 12.5 kB / 1.004 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of SimCode: time 3.91e-07/0.009935, allocations: 0 / 1.004 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of Templates: time 0.003099/0.01303, allocations: 341.4 kB / 1.005 GB, free: 1.277 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.261600695550442]