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.001103/0.001103, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001733/0.002836, allocations: 435.8 kB / 10.33 MB, free: 368 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.001053/0.001053, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002339, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.927/0.927, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09498/1.022, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.604/2.604, allocations: 446.7 MB / 0.6745 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2769/2.881, allocations: 145.9 MB / 0.817 GB, free: 4.227 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.593e-06/1.593e-06, allocations: 0 / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.672e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002506/0.002532, allocations: 0.8713 MB / 0.8192 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000148/0.00268, allocations: 43.73 kB / 0.8192 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.784e-05/0.002738, allocations: 0 / 0.8192 GB, free: 1.988 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.502e-05/0.002783, allocations: 7.875 kB / 0.8192 GB, free: 1.98 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.002845, allocations: 7.922 kB / 0.8192 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 5.394e-05/0.002899, allocations: 19.98 kB / 0.8192 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.003034, allocations: 63.78 kB / 0.8193 GB, free: 1.891 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.003173, allocations: 35.91 kB / 0.8193 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.003277, allocations: 51.83 kB / 0.8194 GB, free: 1.805 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.851e-05/0.003335, allocations: 15.92 kB / 0.8194 GB, free: 1.789 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.003362, allocations: 4 kB / 0.8194 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.003373, allocations: 8 kB / 0.8194 GB, free: 1.777 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.021e-05/0.003394, allocations: 7.938 kB / 0.8194 GB, free: 1.77 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.003428, allocations: 15.94 kB / 0.8194 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.003559, allocations: 43.72 kB / 0.8195 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.086e-05/0.00358, allocations: 0 / 0.8195 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.224e-06/0.003582, allocations: 0 / 0.8195 GB, free: 1.711 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.022e-05/0.003602, allocations: 0 / 0.8195 GB, free: 1.711 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.0004756/0.004078, allocations: 296.3 kB / 0.8197 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.004122, allocations: 8.625 kB / 0.8198 GB, free: 1.387 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.004162, allocations: 16.92 kB / 0.8198 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.004336, allocations: 137.6 kB / 0.8199 GB, free: 1.211 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.004352, allocations: 8.281 kB / 0.8199 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.004364, allocations: 8.375 kB / 0.8199 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.0045, allocations: 83.86 kB / 0.82 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.004509, allocations: 192 / 0.82 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.004519, allocations: 4.375 kB / 0.82 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.004526, allocations: 384 / 0.82 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.109e-05/0.004587, allocations: 19.92 kB / 0.82 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/0.005095, allocations: 0.4971 MB / 0.8205 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.637e-05/0.005181, allocations: 181.3 kB / 0.8207 GB, free: 372 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.005212, allocations: 80.14 kB / 0.8208 GB, free: 288 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.005239, allocations: 75.28 kB / 0.8208 GB, free: 212 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.89e-05/0.005288, allocations: 109.8 kB / 0.8209 GB, free: 92 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/0.00529, allocations: 0 / 0.8209 GB, free: 92 kB / 0.7917 GB Notification: Performance of matching and sorting (n=0): time 7.585e-05/0.005366, allocations: 33.69 kB / 0.821 GB, free: 52 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/0.005457, allocations: 130.6 kB / 0.8211 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.005593, allocations: 146 kB / 0.8212 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.005603, allocations: 25.7 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.00568, allocations: 123.8 kB / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.205e-06/0.005688, allocations: 4 kB / 0.8214 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.005737, allocations: 29.66 kB / 0.8214 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.005855, allocations: 326.7 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.005869, allocations: 4 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.023e-05/0.005919, allocations: 58.84 kB / 0.8218 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.752e-05/0.006016, allocations: 70.78 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.006023, allocations: 4 kB / 0.8218 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001535/0.006177, allocations: 77.48 kB / 0.8219 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.006199, allocations: 4 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.006208, allocations: 0 / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.006221, allocations: 4 kB / 0.8219 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.527e-05/0.006307, allocations: 16.25 kB / 0.8219 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.006315, allocations: 4 kB / 0.8219 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.006362, allocations: 11.88 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.006369, allocations: 4 kB / 0.822 GB, free: 14.93 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 0.0001171/0.006486, allocations: 197 kB / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.006549, allocations: 105 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.911e-05/0.006618, allocations: 116.8 kB / 0.8224 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.57e-05/0.006694, allocations: 184.2 kB / 0.8225 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-05/0.006756, allocations: 180.3 kB / 0.8227 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.097e-05/0.006817, allocations: 180.2 kB / 0.8229 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.007035, allocations: 337.4 kB / 0.8232 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.602e-05/0.007071, allocations: 104.9 kB / 0.8233 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.007104, allocations: 101 kB / 0.8234 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6e-05/0.007164, allocations: 112.9 kB / 0.8235 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.848e-05/0.007222, allocations: 184.2 kB / 0.8237 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.813e-05/0.00728, allocations: 180.3 kB / 0.8239 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-05/0.007337, allocations: 180.2 kB / 0.824 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.314e-05/0.00739, allocations: 180.3 kB / 0.8242 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.007514, allocations: 307.7 kB / 0.8245 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.007576, allocations: 180.3 kB / 0.8247 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.007654, allocations: 108.9 kB / 0.8248 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.007719, allocations: 188.2 kB / 0.8249 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-05/0.00776, allocations: 108.9 kB / 0.8251 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.007798, allocations: 20.84 kB / 0.8251 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007798, allocations: 0 / 0.8251 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002381/0.008036, allocations: 11.95 kB / 0.8251 GB, free: 11.55 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.0001862/0.008223, allocations: 155.7 kB / 0.8252 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.008346, allocations: 37.14 kB / 0.8253 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/0.008356, allocations: 64 / 0.8253 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.008357, allocations: 4 kB / 0.8253 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.008694, allocations: 467.6 kB / 0.8257 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.009038, allocations: 228.4 kB / 0.8259 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.299e-05/0.009081, allocations: 59.34 kB / 0.826 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.796e-05/0.009129, allocations: 4.734 kB / 0.826 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.607e-05/0.009175, allocations: 59.38 kB / 0.8261 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of SimCode: time 1.152e-06/0.009177, allocations: 0 / 0.8261 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of Templates: time 0.00248/0.01166, allocations: 342.6 kB / 0.8264 GB, free: 10.16 MB / 0.8073 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.504435781389475]