Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.001071/0.001071, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001581/0.002652, 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.001062/0.001062, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00135/0.002412, 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.9406/0.9406, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08381/1.024, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.529/2.529, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2607/2.79, allocations: 146 MB / 0.8176 GB, free: 3.832 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.959e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001384/0.001404, allocations: 0.857 MB / 0.8198 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 8.744e-05/0.001491, allocations: 51.78 kB / 0.8198 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.034e-05/0.001532, allocations: 3.938 kB / 0.8198 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.001562, allocations: 7.922 kB / 0.8198 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.409e-05/0.001606, allocations: 15.8 kB / 0.8199 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.59e-05/0.001642, allocations: 15.98 kB / 0.8199 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.72e-05/0.001729, allocations: 63.84 kB / 0.8199 GB, free: 1.473 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.001843, allocations: 43.84 kB / 0.82 GB, free: 1.43 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.637e-05/0.001939, allocations: 43.84 kB / 0.82 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.12e-05/0.001991, allocations: 11.92 kB / 0.82 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.002013, allocations: 8 kB / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-06/0.002022, allocations: 4 kB / 0.82 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.325e-05/0.002046, allocations: 11.94 kB / 0.82 GB, free: 1.352 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.002073, allocations: 15.94 kB / 0.8201 GB, free: 1.336 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.002186, allocations: 43.7 kB / 0.8201 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.342e-05/0.0022, allocations: 0 / 0.8201 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.52e-07/0.0022, allocations: 0 / 0.8201 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.002215, allocations: 4 kB / 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.0004385/0.002654, allocations: 292.3 kB / 0.8204 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.002696, allocations: 8.031 kB / 0.8204 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.002732, allocations: 12.92 kB / 0.8204 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.00289, allocations: 137.6 kB / 0.8205 GB, free: 0.7969 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.002901, allocations: 8.281 kB / 0.8205 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.002914, allocations: 8.375 kB / 0.8206 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.003019, allocations: 81.33 kB / 0.8206 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.003028, allocations: 4.125 kB / 0.8206 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.003036, allocations: 4.375 kB / 0.8206 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.003042, allocations: 384 / 0.8206 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.068e-05/0.003073, allocations: 31.86 kB / 0.8207 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.003464, allocations: 0.501 MB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.233e-05/0.003547, allocations: 173.3 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.113e-05/0.003568, allocations: 80.14 kB / 0.8214 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.003589, allocations: 79.28 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.003624, allocations: 105.8 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.003625, allocations: 0 / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.566e-05/0.003681, allocations: 29.7 kB / 0.8216 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.003724, allocations: 126.7 kB / 0.8217 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.394e-05/0.003818, allocations: 153.7 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.735e-06/0.003826, allocations: 29.64 kB / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.56e-05/0.003882, allocations: 127.8 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.003884, allocations: 0 / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.003912, allocations: 25.66 kB / 0.822 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.261e-05/0.003994, allocations: 322.8 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-06/0.004, allocations: 4 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/0.004036, allocations: 66.83 kB / 0.8224 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.685e-05/0.004093, allocations: 78.67 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.004095, allocations: 0 / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.652e-05/0.004182, allocations: 73.48 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.004195, allocations: 4.25 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.004201, allocations: 8 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.00422, allocations: 4 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.629e-05/0.004277, allocations: 12 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.004281, allocations: 3.984 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.004302, allocations: 11.88 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.004307, allocations: 4 kB / 0.8226 GB, free: 14.49 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.521e-05/0.004372, allocations: 193.1 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.004408, allocations: 109 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.957e-05/0.004448, allocations: 120.8 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.48e-05/0.004493, allocations: 184.2 kB / 0.8232 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.401e-05/0.004537, allocations: 180.3 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.744e-05/0.004584, allocations: 184.2 kB / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.004719, allocations: 329.4 kB / 0.8239 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.653e-05/0.004745, allocations: 104.9 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.358e-05/0.004779, allocations: 109 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.004823, allocations: 108.9 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.801e-05/0.004871, allocations: 180.2 kB / 0.8243 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-05/0.004927, allocations: 180.3 kB / 0.8245 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.275e-05/0.00498, allocations: 188.2 kB / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-05/0.005031, allocations: 176.3 kB / 0.8249 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.005151, allocations: 311.7 kB / 0.8252 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.005204, allocations: 180.2 kB / 0.8253 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.938e-05/0.005254, allocations: 104.9 kB / 0.8254 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.005305, allocations: 184.3 kB / 0.8256 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.676e-05/0.005332, allocations: 101 kB / 0.8257 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.984e-05/0.005361, allocations: 32.77 kB / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.005361, allocations: 0 / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001273/0.005489, allocations: 7.953 kB / 0.8257 GB, free: 11.12 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.0001205/0.005609, allocations: 159.7 kB / 0.8259 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.134e-05/0.005691, allocations: 32.78 kB / 0.8259 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/0.005697, allocations: 4 kB / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.416e-06/0.005701, allocations: 0 / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.005976, allocations: 483.5 kB / 0.8264 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/0.006239, allocations: 226.2 kB / 0.8266 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.179e-05/0.00627, allocations: 59.34 kB / 0.8267 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.499e-05/0.006305, allocations: 13.47 kB / 0.8267 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.006343, allocations: 55.38 kB / 0.8267 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of SimCode: time 1.162e-06/0.006344, allocations: 0 / 0.8267 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.001948/0.008292, allocations: 255.5 kB / 0.827 GB, free: 9.793 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.200157642364502]