Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0008894/0.0008894, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001156/0.002045, 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.0007228/0.0007228, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009932/0.001716, allocations: 475.6 kB / 11.79 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.9451/0.9451, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08695/1.032, 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 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.378/2.378, allocations: 447.1 MB / 0.675 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2586/2.637, allocations: 146 MB / 0.8176 GB, free: 3.836 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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.8189 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.267e-05/3.464e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002688/0.002722, allocations: 0.8674 MB / 0.8198 GB, free: 1.625 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001095/0.002832, allocations: 55.72 kB / 0.8198 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.00288, allocations: 0 / 0.8198 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.523e-05/0.002916, allocations: 11.86 kB / 0.8198 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.667e-05/0.002972, allocations: 11.94 kB / 0.8199 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.237e-05/0.003015, allocations: 15.98 kB / 0.8199 GB, free: 1.531 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.003122, allocations: 63.78 kB / 0.8199 GB, free: 1.469 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.003253, allocations: 39.84 kB / 0.82 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.003358, allocations: 47.84 kB / 0.82 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.003406, allocations: 19.89 kB / 0.82 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.00343, allocations: 4 kB / 0.82 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.00344, allocations: 8 kB / 0.82 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.003465, allocations: 7.938 kB / 0.8201 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.003488, allocations: 12 kB / 0.8201 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.003591, allocations: 43.73 kB / 0.8201 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.592e-05/0.003607, allocations: 0 / 0.8201 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.523e-06/0.003609, allocations: 0 / 0.8201 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.003625, allocations: 0 / 0.8201 GB, free: 1.289 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.0004589/0.004084, allocations: 300.2 kB / 0.8204 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.004128, allocations: 8.031 kB / 0.8204 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.004166, allocations: 12.94 kB / 0.8204 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.004331, allocations: 129.7 kB / 0.8205 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.004344, allocations: 8.281 kB / 0.8205 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.004359, allocations: 8.375 kB / 0.8206 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.004474, allocations: 85.11 kB / 0.8206 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.004484, allocations: 4.188 kB / 0.8206 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.004493, allocations: 384 / 0.8206 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.0045, allocations: 4.375 kB / 0.8206 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.066e-05/0.004531, allocations: 19.88 kB / 0.8207 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.004932, allocations: 0.501 MB / 0.8212 GB, free: 128 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.816e-05/0.00502, allocations: 181.2 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.005046, allocations: 80.14 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.005066, allocations: 75.28 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.005105, allocations: 109.8 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.005106, allocations: 4 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.066e-05/0.005177, allocations: 33.62 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.015e-05/0.005227, allocations: 134.7 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.005331, allocations: 145.2 kB / 0.8219 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.005339, allocations: 25.7 kB / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.006e-05/0.005399, allocations: 123.8 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.005402, allocations: 0 / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.005428, allocations: 33.64 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.771e-05/0.005516, allocations: 322.8 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.674e-06/0.005523, allocations: 4 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.275e-05/0.005556, allocations: 54.86 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.037e-05/0.005616, allocations: 74.72 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005618, allocations: 0 / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.602e-05/0.005714, allocations: 81.48 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.005728, allocations: 4 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.005736, allocations: 4 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.005752, allocations: 0 / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.369e-05/0.005806, allocations: 16 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.005812, allocations: 8.078 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.005835, allocations: 15.88 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.005841, allocations: 7.984 kB / 0.8226 GB, free: 14.48 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 7.878e-05/0.00592, allocations: 193.4 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.005955, allocations: 109 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.005999, allocations: 116.8 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.713e-05/0.006046, allocations: 180.3 kB / 0.8232 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.166e-05/0.006098, allocations: 184.2 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.913e-05/0.006147, allocations: 176.3 kB / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.006285, allocations: 333.4 kB / 0.8239 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.92e-05/0.006314, allocations: 108.9 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.006341, allocations: 101 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.006382, allocations: 116.9 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.326e-05/0.006425, allocations: 184.2 kB / 0.8243 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.006471, allocations: 184.3 kB / 0.8245 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.596e-05/0.006517, allocations: 184.2 kB / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.604e-05/0.006563, allocations: 180.3 kB / 0.8249 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.708e-05/0.00666, allocations: 303.7 kB / 0.8252 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.00671, allocations: 188.2 kB / 0.8253 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.687e-05/0.006757, allocations: 101 kB / 0.8254 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.006808, allocations: 180.3 kB / 0.8256 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.006833, allocations: 108.9 kB / 0.8257 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.242e-05/0.006856, allocations: 27.23 kB / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006856, allocations: 0 / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001184/0.006974, allocations: 11.95 kB / 0.8257 GB, free: 11.11 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 0.0001293/0.007103, allocations: 163.7 kB / 0.8259 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.887e-05/0.007172, allocations: 28.73 kB / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.007179, allocations: 8 kB / 0.8259 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.895e-06/0.007182, allocations: 0 / 0.8259 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.007408, allocations: 476.4 kB / 0.8264 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/0.007643, allocations: 224.1 kB / 0.8266 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.561e-05/0.007679, allocations: 63.34 kB / 0.8267 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.232e-05/0.007721, allocations: 8.719 kB / 0.8267 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.007768, allocations: 59.36 kB / 0.8267 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of SimCode: time 1.132e-06/0.007769, allocations: 0 / 0.8267 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.001706/0.009475, allocations: 251.5 kB / 0.827 GB, free: 9.789 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.298391738906503]