Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0007961/0.0007961, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001144/0.00194, 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.0007067/0.0007067, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001014/0.00172, 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.9644/0.9644, allocations: 177.2 MB / 189.7 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09023/1.055, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.387/2.387, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.239/2.626, allocations: 146 MB / 0.8176 GB, free: 3.824 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 3.938 kB / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.344e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001985/0.002008, allocations: 0.8597 MB / 0.8198 GB, free: 1.617 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001106/0.002119, allocations: 51.72 kB / 0.8198 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.277e-05/0.002161, allocations: 0 / 0.8198 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.304e-05/0.002194, allocations: 11.81 kB / 0.8198 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.483e-05/0.002239, allocations: 15.86 kB / 0.8199 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.508e-05/0.002284, allocations: 19.98 kB / 0.8199 GB, free: 1.52 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.65e-05/0.002381, allocations: 59.84 kB / 0.8199 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.002483, allocations: 35.84 kB / 0.82 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.002562, allocations: 43.91 kB / 0.82 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.002611, allocations: 15.91 kB / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.002631, allocations: 4 kB / 0.82 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.049e-05/0.002642, allocations: 8 kB / 0.82 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.085e-05/0.002663, allocations: 7.938 kB / 0.82 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.002687, allocations: 19.94 kB / 0.8201 GB, free: 1.328 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.916e-05/0.002786, allocations: 51.66 kB / 0.8201 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.002798, allocations: 0 / 0.8201 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.81e-07/0.002799, allocations: 0 / 0.8201 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.002814, allocations: 0 / 0.8201 GB, free: 1.277 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.005409/0.008223, allocations: 292.3 kB / 0.8204 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.008258, allocations: 8.031 kB / 0.8204 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.008296, allocations: 12.92 kB / 0.8204 GB, free: 0.9453 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.008451, allocations: 129.7 kB / 0.8205 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.008463, allocations: 8.281 kB / 0.8205 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.649e-05/0.008479, allocations: 12.36 kB / 0.8206 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.008597, allocations: 85.44 kB / 0.8206 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.008605, allocations: 192 / 0.8206 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.008613, allocations: 4.375 kB / 0.8206 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.00862, allocations: 384 / 0.8206 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.608e-05/0.008656, allocations: 23.86 kB / 0.8207 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.009089, allocations: 0.5089 MB / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.393e-05/0.009173, allocations: 165.1 kB / 0.8213 GB, free: 15.94 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.456e-05/0.009197, allocations: 80.14 kB / 0.8214 GB, free: 15.86 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.009222, allocations: 79.27 kB / 0.8215 GB, free: 15.78 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.009265, allocations: 109.8 kB / 0.8216 GB, free: 15.66 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.009266, allocations: 4 kB / 0.8216 GB, free: 15.66 MB / 0.8074 GB Notification: Performance of matching and sorting (n=0): time 6.824e-05/0.009334, allocations: 33.64 kB / 0.8216 GB, free: 15.62 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.009381, allocations: 126.7 kB / 0.8217 GB, free: 15.48 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.009495, allocations: 150.6 kB / 0.8219 GB, free: 15.32 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 9.098e-06/0.009504, allocations: 25.7 kB / 0.8219 GB, free: 15.29 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 6.631e-05/0.009571, allocations: 119.8 kB / 0.822 GB, free: 15.17 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 5.701e-06/0.009576, allocations: 8 kB / 0.822 GB, free: 15.16 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.00961, allocations: 21.66 kB / 0.822 GB, free: 15.13 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.00971, allocations: 330.8 kB / 0.8224 GB, free: 14.8 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.296e-05/0.009723, allocations: 4 kB / 0.8224 GB, free: 14.8 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.728e-05/0.009761, allocations: 46.88 kB / 0.8224 GB, free: 14.73 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.216e-05/0.009833, allocations: 74.72 kB / 0.8225 GB, free: 14.63 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.009837, allocations: 7.922 kB / 0.8225 GB, free: 14.62 MB / 0.8074 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001221/0.009959, allocations: 77.5 kB / 0.8226 GB, free: 14.54 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.009974, allocations: 7.984 kB / 0.8226 GB, free: 14.53 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.009981, allocations: 4 kB / 0.8226 GB, free: 14.53 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.009996, allocations: 0 / 0.8226 GB, free: 14.53 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.01006, allocations: 16 kB / 0.8226 GB, free: 14.51 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01006, allocations: 4.094 kB / 0.8226 GB, free: 14.51 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.134e-05/0.01011, allocations: 11.88 kB / 0.8226 GB, free: 14.5 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.01011, allocations: 11.98 kB / 0.8226 GB, free: 14.48 MB / 0.8074 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 8.772e-05/0.0102, allocations: 189.4 kB / 0.8228 GB, free: 14.29 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.173e-05/0.01028, allocations: 117 kB / 0.8229 GB, free: 14.17 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.852e-05/0.01033, allocations: 112.8 kB / 0.823 GB, free: 14.05 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.902e-05/0.01038, allocations: 180.3 kB / 0.8232 GB, free: 13.87 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.742e-05/0.01044, allocations: 188.2 kB / 0.8234 GB, free: 13.68 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.307e-05/0.01048, allocations: 176.3 kB / 0.8235 GB, free: 13.5 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.01369, allocations: 337.3 kB / 0.8239 GB, free: 13.14 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.771e-05/0.01372, allocations: 101 kB / 0.8239 GB, free: 13.04 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.989e-05/0.01378, allocations: 101 kB / 0.824 GB, free: 12.93 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 5.027e-05/0.01383, allocations: 120.9 kB / 0.8242 GB, free: 12.8 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.69e-05/0.01388, allocations: 180.3 kB / 0.8243 GB, free: 12.62 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.987e-05/0.01393, allocations: 188.2 kB / 0.8245 GB, free: 12.43 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-05/0.01397, allocations: 176.3 kB / 0.8247 GB, free: 12.25 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-05/0.01402, allocations: 180.3 kB / 0.8249 GB, free: 12.07 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.01419, allocations: 307.7 kB / 0.8251 GB, free: 11.74 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.01424, allocations: 188.2 kB / 0.8253 GB, free: 11.55 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.587e-05/0.01431, allocations: 101 kB / 0.8254 GB, free: 11.45 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.01436, allocations: 184.2 kB / 0.8256 GB, free: 11.26 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.01438, allocations: 104.9 kB / 0.8257 GB, free: 11.15 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 3.659e-05/0.01442, allocations: 27.41 kB / 0.8257 GB, free: 11.12 MB / 0.8074 GB Notification: Performance of sort global known variables: time 6e-08/0.01442, allocations: 0 / 0.8257 GB, free: 11.12 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.0002273/0.01465, allocations: 11.95 kB / 0.8257 GB, free: 11.11 MB / 0.8074 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.0001253/0.01477, allocations: 163.7 kB / 0.8259 GB, free: 10.94 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 7.805e-05/0.01485, allocations: 28.72 kB / 0.8259 GB, free: 10.91 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/0.01486, allocations: 8 kB / 0.8259 GB, free: 10.9 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.01486, allocations: 0 / 0.8259 GB, free: 10.9 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.01514, allocations: 476.4 kB / 0.8264 GB, free: 10.43 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.01542, allocations: 224.1 kB / 0.8266 GB, free: 10.19 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.781e-05/0.01546, allocations: 63.34 kB / 0.8267 GB, free: 10.11 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.01562, allocations: 8.719 kB / 0.8267 GB, free: 10.09 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.01566, allocations: 55.38 kB / 0.8267 GB, free: 10.04 MB / 0.8074 GB Notification: Performance of SimCode: time 5.71e-07/0.01566, allocations: 0 / 0.8267 GB, free: 10.04 MB / 0.8074 GB Notification: Performance of Templates: time 0.005171/0.02084, allocations: 267.4 kB / 0.827 GB, free: 9.777 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.143104936927557]