Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.00108/0.00108, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001633/0.002712, allocations: 440 kB / 10.41 MB, free: 284 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.001073/0.001073, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001373/0.002446, allocations: 475.6 kB / 11.8 MB, free: 2.375 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.9663/0.9663, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08495/1.051, 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 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.4/2.4, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2523/2.652, allocations: 146 MB / 0.8176 GB, free: 3.797 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.211e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001548/0.00157, allocations: 0.8571 MB / 0.8198 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 9.309e-05/0.001663, allocations: 55.72 kB / 0.8198 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.001697, allocations: 4 kB / 0.8198 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.00173, allocations: 7.875 kB / 0.8198 GB, free: 1.543 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.00177, allocations: 15.8 kB / 0.8199 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.208e-05/0.001802, allocations: 15.98 kB / 0.8199 GB, free: 1.512 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.094e-05/0.001883, allocations: 67.83 kB / 0.8199 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.816e-05/0.001971, allocations: 27.92 kB / 0.82 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.067e-05/0.002042, allocations: 47.84 kB / 0.82 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.725e-05/0.002079, allocations: 15.91 kB / 0.82 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.002097, allocations: 8 kB / 0.82 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.733e-06/0.002104, allocations: 8 kB / 0.82 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.002124, allocations: 11.94 kB / 0.82 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.799e-05/0.002142, allocations: 11.94 kB / 0.8201 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.038e-05/0.002222, allocations: 47.66 kB / 0.8201 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/0.002234, allocations: 0 / 0.8201 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.072e-06/0.002235, allocations: 0 / 0.8201 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.002247, allocations: 0 / 0.8201 GB, free: 1.27 MB / 0.7917 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.0003271/0.002575, allocations: 292.3 kB / 0.8204 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.686e-05/0.002601, allocations: 8.031 kB / 0.8204 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.002631, allocations: 16.92 kB / 0.8204 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.002752, allocations: 133.7 kB / 0.8205 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.002763, allocations: 12.27 kB / 0.8205 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.002776, allocations: 8.375 kB / 0.8206 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.791e-05/0.002864, allocations: 81.28 kB / 0.8206 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.002871, allocations: 192 / 0.8206 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.002878, allocations: 4.375 kB / 0.8206 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.002883, allocations: 384 / 0.8206 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.766e-05/0.002911, allocations: 27.8 kB / 0.8207 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003094/0.00322, allocations: 0.5011 MB / 0.8211 GB, free: 104 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.939e-05/0.003289, allocations: 177.2 kB / 0.8213 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.00331, allocations: 84.14 kB / 0.8214 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.003328, allocations: 79.28 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.003364, allocations: 105.8 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.003365, allocations: 0 / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.889e-05/0.003414, allocations: 33.64 kB / 0.8216 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.003451, allocations: 126.7 kB / 0.8217 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.809e-05/0.003529, allocations: 149.7 kB / 0.8219 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-06/0.003536, allocations: 25.7 kB / 0.8219 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.003587, allocations: 119.8 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.00359, allocations: 7.984 kB / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.003614, allocations: 21.67 kB / 0.822 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.003685, allocations: 330.8 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.181e-06/0.003691, allocations: 4 kB / 0.8224 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.003719, allocations: 54.86 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.946e-05/0.003769, allocations: 74.7 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.003772, allocations: 15.94 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.804e-05/0.00385, allocations: 73.48 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.003861, allocations: 4 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.003867, allocations: 4 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.003878, allocations: 0 / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.199e-05/0.00392, allocations: 16 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.003923, allocations: 4.188 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.003944, allocations: 15.88 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-06/0.003948, allocations: 4 kB / 0.8226 GB, free: 14.47 MB / 0.8073 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 6.071e-05/0.004009, allocations: 193.1 kB / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.004046, allocations: 113 kB / 0.8229 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.004081, allocations: 108.8 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.624e-05/0.004117, allocations: 184.2 kB / 0.8232 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.63e-05/0.004153, allocations: 184.2 kB / 0.8234 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-05/0.004192, allocations: 180.3 kB / 0.8235 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.00432, allocations: 337.3 kB / 0.8239 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.13e-05/0.004341, allocations: 101 kB / 0.8239 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.004364, allocations: 109 kB / 0.8241 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.004397, allocations: 116.9 kB / 0.8242 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.724e-05/0.004435, allocations: 176.3 kB / 0.8243 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.004472, allocations: 180.2 kB / 0.8245 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.722e-05/0.004509, allocations: 184.3 kB / 0.8247 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.564e-05/0.004544, allocations: 176.3 kB / 0.8248 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.259e-05/0.004627, allocations: 311.7 kB / 0.8251 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.00467, allocations: 180.2 kB / 0.8253 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.325e-05/0.004713, allocations: 105 kB / 0.8254 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.004752, allocations: 184.2 kB / 0.8256 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.004773, allocations: 109 kB / 0.8257 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.13e-05/0.004795, allocations: 24.83 kB / 0.8257 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004795, allocations: 4 kB / 0.8257 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001172/0.004912, allocations: 7.953 kB / 0.8257 GB, free: 11.09 MB / 0.8073 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 8.057e-05/0.004992, allocations: 155.7 kB / 0.8259 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.548e-05/0.005048, allocations: 32.72 kB / 0.8259 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.005053, allocations: 4.75 kB / 0.8259 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.005055, allocations: 0 / 0.8259 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.005253, allocations: 483.6 kB / 0.8264 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001889/0.005442, allocations: 228.1 kB / 0.8266 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.829e-05/0.00547, allocations: 59.34 kB / 0.8267 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.0055, allocations: 8.719 kB / 0.8267 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.005529, allocations: 59.38 kB / 0.8267 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of SimCode: time 7.71e-07/0.00553, allocations: 0 / 0.8267 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.001525/0.007055, allocations: 257.6 kB / 0.827 GB, free: 9.77 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.045971930958331]