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.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.001642/0.001642, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001951/0.001951, allocations: 192.1 kB / 22.17 MB, free: 5.656 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.597/1.597, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.944/2.944, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] 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.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 0.002001/0.002001, allocations: 75.88 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002571/1.029, allocations: 0.8392 MB / 1.275 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001653/1.029, allocations: 43.78 kB / 1.275 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/1.029, allocations: 0 / 1.275 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.458e-05/1.029, allocations: 7.875 kB / 1.275 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.021e-05/1.029, allocations: 11.88 kB / 1.275 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.116e-05/1.029, allocations: 19.97 kB / 1.275 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/1.029, allocations: 63.84 kB / 1.275 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/1.029, allocations: 39.92 kB / 1.275 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.534e-05/1.03, allocations: 19.92 kB / 1.275 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.469e-05/1.03, allocations: 35.73 kB / 1.275 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/1.03, allocations: 7.938 kB / 1.275 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/1.03, allocations: 8 kB / 1.275 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/1.03, allocations: 11.92 kB / 1.275 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/1.03, allocations: 31.81 kB / 1.275 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/1.03, allocations: 78.3 kB / 1.275 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/1.03, allocations: 0 / 1.275 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.084e-06/1.03, allocations: 0 / 1.275 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.107e-05/1.03, allocations: 8 kB / 1.275 GB, free: 3.363 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.0005202/1.03, allocations: 371.2 kB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/1.03, allocations: 12.03 kB / 1.276 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/1.03, allocations: 12.84 kB / 1.276 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/1.031, allocations: 196.1 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/1.031, allocations: 8.375 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/1.031, allocations: 4.375 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/1.031, allocations: 99.89 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.031, allocations: 192 / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/1.031, allocations: 3.938 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/1.031, allocations: 4 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.945e-05/1.031, allocations: 35.98 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/1.032, allocations: 440.7 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.824e-05/1.032, allocations: 45.22 kB / 1.276 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/1.032, allocations: 17.78 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/1.032, allocations: 0 / 1.276 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/1.032, allocations: 34.59 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/1.032, allocations: 0 / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000194/1.032, allocations: 65.52 kB / 1.277 GB, free: 1.848 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/1.032, allocations: 77.11 kB / 1.277 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/1.032, allocations: 158.2 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/1.032, allocations: 25.7 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/1.032, allocations: 100 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/1.032, allocations: 11.94 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/1.032, allocations: 17.67 kB / 1.277 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.032, allocations: 327.1 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/1.033, allocations: 8 kB / 1.277 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.591e-05/1.033, allocations: 13.72 kB / 1.277 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.957e-05/1.033, allocations: 29.66 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.033, allocations: 0 / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.322e-05/1.033, allocations: 61.67 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/1.033, allocations: 6.188 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.033, allocations: 3.938 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/1.033, allocations: 3.938 kB / 1.277 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.437e-05/1.033, allocations: 11.94 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/1.033, allocations: 0 / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/1.033, allocations: 3.938 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/1.033, allocations: 11.94 kB / 1.277 GB, free: 0.9219 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 8.381e-05/1.033, allocations: 114.4 kB / 1.277 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/1.033, allocations: 15.98 kB / 1.277 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/1.033, allocations: 7.812 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/1.033, allocations: 8.078 kB / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.033, allocations: 0 / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/1.033, allocations: 0 / 1.278 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000442/1.033, allocations: 474.7 kB / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.033, allocations: 0 / 1.278 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/1.033, allocations: 7.984 kB / 1.278 GB, free: 244 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.033, allocations: 8.062 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/1.033, allocations: 0 / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.033, allocations: 0 / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.033, allocations: 4 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.164e-05/1.034, allocations: 77.83 kB / 1.278 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/1.034, allocations: 93.05 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/1.034, allocations: 4.031 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.936e-05/1.034, allocations: 0 / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/1.034, allocations: 0 / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/1.034, allocations: 4 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001162/1.034, allocations: 121.9 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.034, allocations: 0 / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001826/1.034, allocations: 4 kB / 1.278 GB, free: 15.89 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.0001417/1.034, allocations: 107.2 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.471e-05/1.034, allocations: 19.94 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.034, allocations: 0 / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/1.034, allocations: 4 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/1.034, allocations: 11.94 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/1.035, allocations: 170.6 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/1.035, allocations: 0.6926 MB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.096e-05/1.035, allocations: 8.422 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/1.035, allocations: 11.44 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/1.035, allocations: 3.938 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of Templates: time 0.002931/1.038, allocations: 474 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.26555526489392]