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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002032/0.002032, allocations: 197.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.822/2.822, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001983/0.001983, allocations: 71.89 kB / 1.109 GB, free: 6.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00255/1.033, allocations: 0.8353 MB / 1.275 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001838/1.033, allocations: 43.78 kB / 1.275 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.408e-05/1.033, allocations: 4 kB / 1.275 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.793e-05/1.033, allocations: 11.86 kB / 1.275 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/1.033, allocations: 7.938 kB / 1.275 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.984e-05/1.033, allocations: 15.98 kB / 1.275 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/1.034, allocations: 67.77 kB / 1.275 GB, free: 3.551 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/1.034, allocations: 35.92 kB / 1.275 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.97e-05/1.034, allocations: 23.88 kB / 1.275 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.5e-05/1.034, allocations: 27.84 kB / 1.275 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/1.034, allocations: 8 kB / 1.275 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/1.034, allocations: 8 kB / 1.275 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/1.034, allocations: 11.94 kB / 1.275 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/1.034, allocations: 35.8 kB / 1.275 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/1.034, allocations: 82.19 kB / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.034, allocations: 0 / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.623e-06/1.034, allocations: 0 / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.524e-06/1.034, allocations: 0 / 1.275 GB, free: 3.324 MB / 0.9669 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.0005832/1.035, allocations: 379.1 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.035, allocations: 8.031 kB / 1.276 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.634e-05/1.035, allocations: 16.84 kB / 1.276 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/1.035, allocations: 196.2 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/1.035, allocations: 8.375 kB / 1.276 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/1.035, allocations: 4.375 kB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/1.035, allocations: 93.52 kB / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.035, allocations: 192 / 1.276 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/1.035, allocations: 7.938 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.035, allocations: 0 / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.46e-05/1.036, allocations: 35.92 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007059/1.036, allocations: 436.6 kB / 1.276 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.23e-05/1.036, allocations: 49.27 kB / 1.276 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/1.036, allocations: 21.84 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/1.036, allocations: 4 kB / 1.276 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/1.036, allocations: 30.56 kB / 1.276 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/1.036, allocations: 0 / 1.276 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002073/1.037, allocations: 61.47 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/1.037, allocations: 81.09 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/1.037, allocations: 155.5 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/1.037, allocations: 33.69 kB / 1.277 GB, free: 1.508 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/1.037, allocations: 100 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/1.037, allocations: 11.94 kB / 1.277 GB, free: 1.395 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/1.037, allocations: 17.67 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.037, allocations: 318.8 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/1.037, allocations: 11.92 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/1.037, allocations: 17.72 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/1.037, allocations: 29.72 kB / 1.277 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.037, allocations: 3.938 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.905e-05/1.037, allocations: 57.58 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.037, allocations: 8 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.037, allocations: 3.938 kB / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.037, allocations: 0 / 1.277 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.146e-05/1.038, allocations: 4 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/1.038, allocations: 8.062 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.622e-05/1.038, allocations: 3.938 kB / 1.277 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/1.038, allocations: 4 kB / 1.277 GB, free: 0.8828 MB / 0.9669 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.51e-05/1.038, allocations: 110.4 kB / 1.277 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.653e-05/1.038, allocations: 11.94 kB / 1.277 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/1.038, allocations: 15.81 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.038, allocations: 0 / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/1.038, allocations: 4 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/1.038, allocations: 3.938 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004725/1.038, allocations: 474.8 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.038, allocations: 0 / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.532e-05/1.038, allocations: 7.938 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.038, allocations: 0 / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/1.038, allocations: 8.078 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.038, allocations: 0 / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.038, allocations: 0 / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/1.038, allocations: 85.94 kB / 1.278 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/1.038, allocations: 89.05 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/1.038, allocations: 4 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/1.039, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/1.039, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/1.039, allocations: 0 / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001059/1.039, allocations: 129 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/1.039, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001895/1.039, allocations: 8 kB / 1.278 GB, free: 15.84 MB / 0.9825 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.0001384/1.039, allocations: 99.19 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.105e-05/1.039, allocations: 19.98 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.039, allocations: 0 / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.528e-05/1.039, allocations: 11.94 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/1.039, allocations: 12.19 kB / 1.278 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/1.04, allocations: 174.5 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/1.04, allocations: 0.6963 MB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.502e-05/1.04, allocations: 4.438 kB / 1.279 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/1.04, allocations: 11.44 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/1.04, allocations: 4 kB / 1.279 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of Templates: time 0.0031/1.043, allocations: 470 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.045883710961789]