Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00148/0.00148, allocations: 78.73 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001528/0.001528, allocations: 164.4 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.486/1.486, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.896/2.896, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.318e-05/3.497e-05, allocations: 2.281 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002284/0.002319, allocations: 0.7855 MB / 0.9517 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001436/0.002462, allocations: 47.78 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.729e-05/0.00252, allocations: 0 / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.002561, allocations: 7.875 kB / 0.9518 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.161e-05/0.002643, allocations: 11.86 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.412e-05/0.002697, allocations: 19.97 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.002825, allocations: 67.84 kB / 0.9519 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.002977, allocations: 23.98 kB / 0.9519 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.003129, allocations: 43.83 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.231e-05/0.003181, allocations: 19.91 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.003213, allocations: 8 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.003224, allocations: 4 kB / 0.952 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.003255, allocations: 19.92 kB / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.003292, allocations: 19.92 kB / 0.952 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.003443, allocations: 75.58 kB / 0.9521 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.003446, allocations: 0 / 0.9521 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003446, allocations: 4 kB / 0.9521 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.003457, allocations: 4 kB / 0.9521 GB, free: 10.39 MB / 0.8575 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.0005553/0.004012, allocations: 302 kB / 0.9524 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.004061, allocations: 12.03 kB / 0.9524 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.004105, allocations: 8.891 kB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.004386, allocations: 141.6 kB / 0.9525 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.004396, allocations: 384 / 0.9525 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.004424, allocations: 12.38 kB / 0.9526 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.004687, allocations: 94.38 kB / 0.9527 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.004699, allocations: 192 / 0.9527 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.004715, allocations: 4.375 kB / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.004722, allocations: 8.375 kB / 0.9527 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.21e-05/0.004814, allocations: 43.86 kB / 0.9527 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006265/0.005441, allocations: 356.4 kB / 0.953 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.632e-05/0.005517, allocations: 41.19 kB / 0.9531 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.005558, allocations: 17.78 kB / 0.9531 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.005565, allocations: 4 kB / 0.9531 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.005595, allocations: 34.56 kB / 0.9531 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.005597, allocations: 0 / 0.9531 GB, free: 9.199 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000215/0.005812, allocations: 53.62 kB / 0.9532 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.005871, allocations: 81.11 kB / 0.9533 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.006019, allocations: 122.9 kB / 0.9534 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.006045, allocations: 29.7 kB / 0.9534 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.006135, allocations: 115.9 kB / 0.9535 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-06/0.006144, allocations: 3.953 kB / 0.9535 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.006192, allocations: 17.72 kB / 0.9535 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.00637, allocations: 314.8 kB / 0.9538 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.006391, allocations: 7.984 kB / 0.9539 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.538e-05/0.006416, allocations: 17.97 kB / 0.9539 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.519e-05/0.006472, allocations: 33.66 kB / 0.9539 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.006473, allocations: 0 / 0.9539 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.748e-05/0.006571, allocations: 57.58 kB / 0.954 GB, free: 8.285 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.006589, allocations: 8 kB / 0.954 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.006597, allocations: 0 / 0.954 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/0.00663, allocations: 0 / 0.954 GB, free: 8.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.288e-05/0.006703, allocations: 4 kB / 0.954 GB, free: 8.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.00671, allocations: 3.938 kB / 0.954 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.006739, allocations: 12.06 kB / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.006745, allocations: 7.938 kB / 0.954 GB, free: 8.25 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 9.965e-05/0.006845, allocations: 109.8 kB / 0.9541 GB, free: 8.133 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.006892, allocations: 11.95 kB / 0.9541 GB, free: 8.121 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.006918, allocations: 7.453 kB / 0.9541 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.006922, allocations: 4 kB / 0.9541 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.006927, allocations: 0 / 0.9541 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.006932, allocations: 3.938 kB / 0.9541 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.007381, allocations: 414.4 kB / 0.9545 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.007383, allocations: 4.062 kB / 0.9545 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/0.007405, allocations: 4 kB / 0.9545 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.007407, allocations: 0 / 0.9545 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.007416, allocations: 3.938 kB / 0.9545 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.007418, allocations: 0 / 0.9545 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.007425, allocations: 7.938 kB / 0.9545 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.007532, allocations: 77.88 kB / 0.9546 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.007555, allocations: 7.953 kB / 0.9546 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.007575, allocations: 7.938 kB / 0.9546 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.812e-05/0.007593, allocations: 0 / 0.9546 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.007618, allocations: 4.031 kB / 0.9546 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.007621, allocations: 0 / 0.9546 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.205e-05/0.007713, allocations: 110.5 kB / 0.9547 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007713, allocations: 0 / 0.9547 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004288/0.008142, allocations: 12 kB / 0.9547 GB, free: 7.402 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001118/0.008254, allocations: 91.25 kB / 0.9548 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.008362, allocations: 19.94 kB / 0.9549 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.008365, allocations: 0 / 0.9549 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.304e-05/0.008378, allocations: 8.125 kB / 0.9549 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.008534, allocations: 8.094 kB / 0.9549 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004315/0.008966, allocations: 166.6 kB / 0.955 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.009069, allocations: 75.19 kB / 0.9551 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.098e-05/0.0091, allocations: 7.984 kB / 0.9551 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.009133, allocations: 16.61 kB / 0.9551 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.009134, allocations: 4 kB / 0.9551 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of Templates: time 0.003162/0.0123, allocations: 331 kB / 0.9554 GB, free: 6.633 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.200156729668379]