Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001755/0.001755, allocations: 77.33 kB / 19.18 MB, free: 2.512 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.002122/0.002122, allocations: 161.2 kB / 22.46 MB, free: 5.391 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.148 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.741/2.741, allocations: 359 MB / 0.6037 GB, free: 14.95 MB / 0.5762 GB " [Timeout remaining time 177] 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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.594e-05, allocations: 2.281 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00187/0.001896, allocations: 0.7947 MB / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001092/0.002005, allocations: 35.84 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.856e-05/0.002064, allocations: 4 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.002098, allocations: 7.875 kB / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.13e-05/0.002189, allocations: 19.8 kB / 0.9518 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.365e-05/0.002243, allocations: 15.98 kB / 0.9518 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.002369, allocations: 59.83 kB / 0.9519 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.002516, allocations: 35.98 kB / 0.9519 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.00263, allocations: 39.89 kB / 0.952 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.002674, allocations: 19.91 kB / 0.952 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.002697, allocations: 8 kB / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-06/0.002706, allocations: 4 kB / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.002731, allocations: 11.94 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.899e-05/0.00277, allocations: 23.91 kB / 0.952 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.002897, allocations: 79.58 kB / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.002899, allocations: 0 / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.01e-07/0.0029, allocations: 0 / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.002904, allocations: 3.938 kB / 0.9521 GB, free: 10.37 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.0004731/0.003377, allocations: 312.4 kB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.003423, allocations: 12.03 kB / 0.9524 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.242e-05/0.003475, allocations: 8.891 kB / 0.9524 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.003681, allocations: 133.6 kB / 0.9526 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.003697, allocations: 4.375 kB / 0.9526 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.665e-05/0.003713, allocations: 8.375 kB / 0.9526 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.003896, allocations: 98.22 kB / 0.9527 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.003907, allocations: 192 / 0.9527 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.003921, allocations: 4.375 kB / 0.9527 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.003934, allocations: 4.375 kB / 0.9527 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.549e-05/0.00402, allocations: 47.91 kB / 0.9527 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.004537, allocations: 360.4 kB / 0.9531 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.722e-05/0.004604, allocations: 33.16 kB / 0.9531 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.004639, allocations: 17.94 kB / 0.9531 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.004649, allocations: 7.938 kB / 0.9531 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.004679, allocations: 30.56 kB / 0.9531 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.00468, allocations: 0 / 0.9531 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001873/0.004867, allocations: 53.62 kB / 0.9532 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.004921, allocations: 81.11 kB / 0.9533 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.005059, allocations: 125.8 kB / 0.9534 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.005073, allocations: 25.7 kB / 0.9534 GB, free: 8.859 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.005153, allocations: 123.8 kB / 0.9535 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.196e-06/0.005161, allocations: 3.953 kB / 0.9535 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.005199, allocations: 17.72 kB / 0.9536 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.005375, allocations: 310.8 kB / 0.9538 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.005399, allocations: 11.98 kB / 0.9539 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.376e-05/0.005423, allocations: 17.72 kB / 0.9539 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.364e-05/0.005497, allocations: 33.91 kB / 0.9539 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005499, allocations: 0 / 0.9539 GB, free: 8.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.215e-05/0.005591, allocations: 53.64 kB / 0.954 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.005605, allocations: 4 kB / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.005611, allocations: 4 kB / 0.954 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.005625, allocations: 0 / 0.954 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.005686, allocations: 7.938 kB / 0.954 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.005691, allocations: 3.938 kB / 0.954 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.663e-05/0.005718, allocations: 4.062 kB / 0.954 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.005722, allocations: 7.938 kB / 0.954 GB, free: 8.23 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.514e-05/0.005817, allocations: 113.8 kB / 0.9541 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.005862, allocations: 7.953 kB / 0.9541 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.005884, allocations: 11.45 kB / 0.9541 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.005886, allocations: 0 / 0.9541 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.005892, allocations: 4 kB / 0.9541 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.005898, allocations: 7.938 kB / 0.9541 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.006291, allocations: 414.4 kB / 0.9545 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006292, allocations: 0 / 0.9545 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.006312, allocations: 8.062 kB / 0.9545 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.006314, allocations: 0 / 0.9545 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.006322, allocations: 3.938 kB / 0.9545 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006323, allocations: 0 / 0.9545 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.006324, allocations: 0 / 0.9545 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.712e-05/0.006421, allocations: 81.88 kB / 0.9546 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.00644, allocations: 3.953 kB / 0.9546 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.006457, allocations: 11.94 kB / 0.9546 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.744e-05/0.006474, allocations: 0 / 0.9546 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.106e-05/0.006485, allocations: 0 / 0.9546 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.006487, allocations: 4.031 kB / 0.9546 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.088e-05/0.006568, allocations: 107.2 kB / 0.9547 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.006568, allocations: 3.938 kB / 0.9547 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002034/0.006771, allocations: 8 kB / 0.9547 GB, free: 7.379 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.0001157/0.006887, allocations: 95.25 kB / 0.9548 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.342e-05/0.00697, allocations: 19.94 kB / 0.9549 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006972, allocations: 0 / 0.9549 GB, free: 7.258 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.006983, allocations: 4 kB / 0.9549 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.007128, allocations: 8.25 kB / 0.9549 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.007463, allocations: 166.6 kB / 0.955 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.327e-05/0.007547, allocations: 79.19 kB / 0.9551 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.966e-05/0.007576, allocations: 7.984 kB / 0.9551 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.007603, allocations: 12.5 kB / 0.9551 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.007603, allocations: 0 / 0.9551 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of Templates: time 0.002764/0.01037, allocations: 340.4 kB / 0.9554 GB, free: 6.605 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.028021913021803]