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.0008934/0.0008934, allocations: 76.45 kB / 19.93 MB, free: 4.613 MB / 18.57 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.0009611/0.0009611, allocations: 181.9 kB / 23.22 MB, free: 1.32 MB / 18.57 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.9015/0.9015, allocations: 177.2 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.751/1.751, allocations: 377.8 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.245e-06/2.245e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.983e-05/3.207e-05, allocations: 6.219 kB / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0015/0.001532, allocations: 0.7868 MB / 0.983 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001093/0.001642, allocations: 43.78 kB / 0.983 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.001692, allocations: 4 kB / 0.983 GB, free: 1.25 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.738e-05/0.001729, allocations: 7.875 kB / 0.983 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 8.814e-05/0.001818, allocations: 7.875 kB / 0.983 GB, free: 1.234 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.693e-05/0.001864, allocations: 23.97 kB / 0.9831 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.001971, allocations: 67.77 kB / 0.9831 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.002101, allocations: 27.98 kB / 0.9832 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 9.357e-05/0.002194, allocations: 39.89 kB / 0.9832 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.933e-05/0.002233, allocations: 11.92 kB / 0.9832 GB, free: 1.066 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.002258, allocations: 4 kB / 0.9832 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.234e-06/0.002266, allocations: 8 kB / 0.9832 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/0.002287, allocations: 15.92 kB / 0.9832 GB, free: 1.039 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.002314, allocations: 23.92 kB / 0.9833 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.002424, allocations: 87.56 kB / 0.9833 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.002427, allocations: 0 / 0.9833 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.343e-06/0.002428, allocations: 0 / 0.9833 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002432, allocations: 0 / 0.9833 GB, free: 0.9297 MB / 0.9323 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.0003897/0.002821, allocations: 306 kB / 0.9836 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.002862, allocations: 8.031 kB / 0.9836 GB, free: 0.5898 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.002897, allocations: 12.84 kB / 0.9837 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.003066, allocations: 133.6 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.00308, allocations: 8.375 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.00309, allocations: 8.375 kB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.003219, allocations: 87.95 kB / 0.9839 GB, free: 316 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.00323, allocations: 12.12 kB / 0.9839 GB, free: 304 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.003241, allocations: 384 / 0.9839 GB, free: 304 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.003246, allocations: 384 / 0.9839 GB, free: 304 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.363e-05/0.003309, allocations: 39.92 kB / 0.9839 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.003755, allocations: 352.6 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.471e-05/0.00381, allocations: 41.22 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.003841, allocations: 29.7 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.004e-06/0.003848, allocations: 0 / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.003869, allocations: 38.5 kB / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.003871, allocations: 0 / 0.9844 GB, free: 15.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.004019, allocations: 45.66 kB / 0.9844 GB, free: 15.69 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.004058, allocations: 81.05 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/0.004149, allocations: 141.7 kB / 0.9846 GB, free: 15.44 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.004158, allocations: 25.7 kB / 0.9846 GB, free: 15.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.004214, allocations: 104 kB / 0.9847 GB, free: 15.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.654e-06/0.004221, allocations: 12.14 kB / 0.9848 GB, free: 15.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.004251, allocations: 25.66 kB / 0.9848 GB, free: 15.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.954e-05/0.004331, allocations: 318.8 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.433e-05/0.004345, allocations: 4 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.088e-05/0.004366, allocations: 21.7 kB / 0.9851 GB, free: 14.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/0.004398, allocations: 21.72 kB / 0.9851 GB, free: 14.88 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.004399, allocations: 0 / 0.9851 GB, free: 14.88 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.906e-05/0.004458, allocations: 57.64 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.004474, allocations: 4 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.004482, allocations: 8.047 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.004495, allocations: 0 / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.004554, allocations: 8 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.004561, allocations: 3.938 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.4e-05/0.004575, allocations: 3.938 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.004579, allocations: 7.938 kB / 0.9852 GB, free: 14.79 MB / 0.948 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 5.997e-05/0.004639, allocations: 109.8 kB / 0.9853 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.00466, allocations: 7.953 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.004681, allocations: 15.45 kB / 0.9854 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.004683, allocations: 0 / 0.9854 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.004687, allocations: 4 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.004691, allocations: 3.938 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.004936, allocations: 414.4 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.004936, allocations: 0 / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.313e-05/0.00495, allocations: 7.984 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.004951, allocations: 0 / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.00496, allocations: 3.938 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.004961, allocations: 4 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.004962, allocations: 0 / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.343e-05/0.005015, allocations: 74 kB / 0.9858 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.005032, allocations: 11.94 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.107e-05/0.005043, allocations: 4.031 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-06/0.005052, allocations: 4 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.005066, allocations: 7.984 kB / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.005068, allocations: 0 / 0.9859 GB, free: 14.05 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.166e-05/0.00511, allocations: 101.4 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00511, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001332/0.005243, allocations: 15.89 kB / 0.986 GB, free: 13.94 MB / 0.948 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 9.603e-05/0.005339, allocations: 103.8 kB / 0.9861 GB, free: 13.83 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 7.568e-05/0.005415, allocations: 15.94 kB / 0.9861 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.005416, allocations: 0 / 0.9861 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.303e-06/0.005423, allocations: 8 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001259/0.005549, allocations: 4 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.00583, allocations: 192.2 kB / 0.9863 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.718e-05/0.005877, allocations: 75.58 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/0.005902, allocations: 16.5 kB / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/0.005902, allocations: 0 / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of Templates: time 0.001636/0.007538, allocations: 0.7935 MB / 0.9871 GB, free: 12.66 MB / 0.948 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.429233099333942]