Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008337/0.0008337, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008553/0.0008553, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.9035/0.9035, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.799/1.799, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.115e-05, allocations: 5.234 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0014/0.001431, allocations: 0.7868 MB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001056/0.001537, allocations: 43.78 kB / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.001589, allocations: 4 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.001629, allocations: 11.86 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/0.001706, allocations: 3.938 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.307e-05/0.001749, allocations: 19.98 kB / 1.002 GB, free: 12.13 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.001853, allocations: 63.77 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.001986, allocations: 35.91 kB / 1.002 GB, free: 12.03 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.857e-05/0.002075, allocations: 39.89 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.365e-05/0.002119, allocations: 15.92 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.002146, allocations: 8 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-06/0.002153, allocations: 8 kB / 1.002 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.002173, allocations: 15.92 kB / 1.002 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.002205, allocations: 23.92 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.002318, allocations: 75.62 kB / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.00232, allocations: 0 / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.112e-06/0.002322, allocations: 0 / 1.002 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.002326, allocations: 0 / 1.002 GB, free: 11.85 MB / 0.9636 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.0003836/0.002709, allocations: 302 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.00275, allocations: 12.75 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.002782, allocations: 8.891 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.002944, allocations: 133.7 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.002957, allocations: 12.38 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.002968, allocations: 4.375 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.003099, allocations: 99.8 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.003107, allocations: 192 / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.003119, allocations: 4.375 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.003126, allocations: 4.375 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.015e-05/0.003186, allocations: 39.86 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.003585, allocations: 352.5 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.429e-05/0.003639, allocations: 41.19 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.003669, allocations: 21.84 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.003679, allocations: 4 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.003702, allocations: 34.55 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.003703, allocations: 0 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001512/0.003854, allocations: 49.59 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.003895, allocations: 81.05 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.024e-05/0.003985, allocations: 136.5 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.003995, allocations: 25.7 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.004052, allocations: 116.2 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-06/0.00406, allocations: 7.953 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.004087, allocations: 13.72 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.944e-05/0.004166, allocations: 318.8 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.004181, allocations: 4 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.004202, allocations: 25.7 kB / 1.004 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/0.004239, allocations: 29.64 kB / 1.004 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.004242, allocations: 0 / 1.004 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.235e-05/0.004304, allocations: 61.59 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.00432, allocations: 9.562 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.004326, allocations: 4 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.00434, allocations: 0 / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.004396, allocations: 7.984 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.004403, allocations: 3.938 kB / 1.004 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.00442, allocations: 7.938 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.004424, allocations: 0 / 1.004 GB, free: 9.703 MB / 0.9636 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.909e-05/0.004483, allocations: 113.8 kB / 1.004 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.004505, allocations: 7.953 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.004526, allocations: 7.469 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.004527, allocations: 4 kB / 1.004 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.004531, allocations: 4 kB / 1.004 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.004535, allocations: 3.938 kB / 1.004 GB, free: 9.551 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.004784, allocations: 410.5 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.004786, allocations: 0 / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-05/0.004799, allocations: 4 kB / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.004801, allocations: 0 / 1.004 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.004807, allocations: 3.938 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.004809, allocations: 3.984 kB / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.00481, allocations: 64 / 1.004 GB, free: 9.094 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.808e-05/0.004868, allocations: 82.67 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.857e-05/0.004887, allocations: 7.984 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.004901, allocations: 11.94 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-06/0.00491, allocations: 0 / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.004923, allocations: 0 / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.004925, allocations: 0 / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.202e-05/0.004967, allocations: 103.3 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004967, allocations: 0 / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001231/0.00509, allocations: 7.953 kB / 1.005 GB, free: 8.863 MB / 0.9636 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 8.905e-05/0.00518, allocations: 99.28 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.93e-05/0.005259, allocations: 23.86 kB / 1.005 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.005262, allocations: 4 kB / 1.005 GB, free: 8.73 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.901e-06/0.005268, allocations: 4 kB / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001209/0.005388, allocations: 4 kB / 1.005 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002741/0.005663, allocations: 192.2 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.005802, allocations: 89.56 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.005827, allocations: 12.5 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of SimCode: time 6.71e-07/0.005828, allocations: 0 / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of Templates: time 0.001613/0.007441, allocations: 0.8014 MB / 1.006 GB, free: 7.57 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.524988574907184]