Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001138/0.001138, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001833/0.002971, allocations: 449.7 kB / 10.37 MB, free: 328 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.001164/0.001164, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001561/0.002725, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9678/0.9678, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1067/1.074, allocations: 53.64 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.882/1.882, allocations: 378.2 MB / 0.6076 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5472/2.43, allocations: 123.3 MB / 0.728 GB, free: 5.781 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.7293 GB, free: 4.48 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.107e-05/1.235e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.477 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001284/0.001296, allocations: 0.8691 MB / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 8.279e-05/0.001379, allocations: 50.83 kB / 0.7302 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.001419, allocations: 0 / 0.7302 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.001446, allocations: 7.875 kB / 0.7302 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.216e-05/0.001488, allocations: 13.56 kB / 0.7303 GB, free: 3.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.45e-05/0.001523, allocations: 15.98 kB / 0.7303 GB, free: 3.555 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.001623, allocations: 70.06 kB / 0.7303 GB, free: 3.496 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.001733, allocations: 33.39 kB / 0.7304 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.001816, allocations: 42.95 kB / 0.7304 GB, free: 3.43 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.72e-05/0.001863, allocations: 17.67 kB / 0.7304 GB, free: 3.414 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.001884, allocations: 8 kB / 0.7304 GB, free: 3.406 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.784e-06/0.001891, allocations: 4.531 kB / 0.7304 GB, free: 3.402 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.782e-05/0.001909, allocations: 12.88 kB / 0.7305 GB, free: 3.391 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.001936, allocations: 19.94 kB / 0.7305 GB, free: 3.371 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.247e-05/0.002019, allocations: 40.27 kB / 0.7305 GB, free: 3.332 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/0.002035, allocations: 0 / 0.7305 GB, free: 3.332 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.31e-07/0.002036, allocations: 0.875 kB / 0.7305 GB, free: 3.332 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.002052, allocations: 7.938 kB / 0.7305 GB, free: 3.324 MB / 0.698 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.0003506/0.002403, allocations: 285.8 kB / 0.7308 GB, free: 3.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.538e-05/0.002468, allocations: 8.031 kB / 0.7308 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.002502, allocations: 12.92 kB / 0.7308 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.002655, allocations: 141.5 kB / 0.7309 GB, free: 2.836 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.002667, allocations: 9.031 kB / 0.731 GB, free: 2.828 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.002678, allocations: 5.062 kB / 0.731 GB, free: 2.824 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.002783, allocations: 75.89 kB / 0.731 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.002792, allocations: 9.953 kB / 0.731 GB, free: 2.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.002801, allocations: 4.375 kB / 0.731 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.002807, allocations: 384 / 0.731 GB, free: 2.727 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.504e-05/0.002842, allocations: 27.86 kB / 0.7311 GB, free: 2.699 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/0.003241, allocations: 0.5021 MB / 0.7316 GB, free: 2.164 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.823e-05/0.003319, allocations: 169.1 kB / 0.7317 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.542e-05/0.003345, allocations: 82.2 kB / 0.7318 GB, free: 1.906 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.00337, allocations: 83.27 kB / 0.7319 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.003412, allocations: 105.8 kB / 0.732 GB, free: 1.711 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.003413, allocations: 0 / 0.732 GB, free: 1.711 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.15e-05/0.003475, allocations: 33.64 kB / 0.732 GB, free: 1.672 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.003531, allocations: 126.7 kB / 0.7321 GB, free: 1.535 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.003639, allocations: 149.8 kB / 0.7323 GB, free: 1.379 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.073e-05/0.00365, allocations: 29.69 kB / 0.7323 GB, free: 1.344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.52e-05/0.003705, allocations: 127.8 kB / 0.7324 GB, free: 1.215 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.062e-06/0.003711, allocations: 0.5 kB / 0.7324 GB, free: 1.215 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.003739, allocations: 22.55 kB / 0.7325 GB, free: 1.188 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.29e-05/0.003812, allocations: 326.8 kB / 0.7328 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-06/0.003818, allocations: 4.875 kB / 0.7328 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.985e-05/0.003848, allocations: 50.86 kB / 0.7328 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/0.0039, allocations: 66.2 kB / 0.7329 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.003903, allocations: 4 kB / 0.7329 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.863e-05/0.003992, allocations: 75.39 kB / 0.733 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.004006, allocations: 7.281 kB / 0.733 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.004012, allocations: 4.906 kB / 0.733 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.004022, allocations: 0 / 0.733 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.213e-05/0.004074, allocations: 19.98 kB / 0.733 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.004079, allocations: 4.469 kB / 0.733 GB, free: 0.582 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.004104, allocations: 12.66 kB / 0.733 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.004108, allocations: 4 kB / 0.733 GB, free: 0.5664 MB / 0.698 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.632e-05/0.004174, allocations: 190.1 kB / 0.7332 GB, free: 380 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.438e-05/0.004209, allocations: 108.9 kB / 0.7333 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.004252, allocations: 121.4 kB / 0.7334 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.655e-05/0.004308, allocations: 180.3 kB / 0.7336 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.142e-05/0.00435, allocations: 182 kB / 0.7338 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.28e-05/0.004392, allocations: 176.3 kB / 0.7339 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.004547, allocations: 341.3 kB / 0.7342 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.828e-05/0.004575, allocations: 104.9 kB / 0.7343 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.004608, allocations: 113 kB / 0.7345 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.84e-05/0.004646, allocations: 110.1 kB / 0.7346 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-05/0.004693, allocations: 180.3 kB / 0.7347 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.00474, allocations: 180.2 kB / 0.7349 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-05/0.004789, allocations: 185 kB / 0.7351 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.249e-05/0.004832, allocations: 176.5 kB / 0.7352 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.665e-05/0.004928, allocations: 320.6 kB / 0.7356 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.004974, allocations: 180.2 kB / 0.7357 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.544e-05/0.005019, allocations: 101.6 kB / 0.7358 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.209e-05/0.005071, allocations: 180.3 kB / 0.736 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.005096, allocations: 106.8 kB / 0.7361 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.613e-05/0.005123, allocations: 30.7 kB / 0.7361 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.005123, allocations: 0 / 0.7361 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001331/0.005256, allocations: 15.95 kB / 0.7361 GB, free: 13.18 MB / 0.7136 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.679e-05/0.005343, allocations: 156.9 kB / 0.7363 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.411e-05/0.005407, allocations: 26.19 kB / 0.7363 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.005412, allocations: 4 kB / 0.7363 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.005413, allocations: 0 / 0.7363 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.005603, allocations: 468.7 kB / 0.7368 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.005823, allocations: 232 kB / 0.737 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.583e-05/0.005859, allocations: 62.48 kB / 0.737 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.005893, allocations: 8.703 kB / 0.7371 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.005929, allocations: 58.12 kB / 0.7371 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of SimCode: time 4.21e-07/0.00593, allocations: 0 / 0.7371 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of Templates: time 0.001894/0.007824, allocations: 340.9 kB / 0.7374 GB, free: 11.81 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.017599240876734]