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.001745/0.001745, allocations: 113.8 kB / 17.6 MB, free: 4.684 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.002065/0.002065, allocations: 186 kB / 20.78 MB, free: 1.52 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.554/1.554, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.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.874/2.874, allocations: 476.7 MB / 0.7628 GB, free: 15.25 MB / 0.6075 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.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.0021/0.0021, allocations: 63.89 kB / 1.107 GB, free: 4.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.27/1.272, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002374/1.274, allocations: 0.8457 MB / 1.273 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001205/1.274, allocations: 35.97 kB / 1.273 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.138e-05/1.274, allocations: 2.188 kB / 1.273 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.185e-05/1.274, allocations: 9.609 kB / 1.273 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.976e-05/1.274, allocations: 13.95 kB / 1.273 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.835e-05/1.274, allocations: 16.47 kB / 1.273 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001411/1.275, allocations: 62.69 kB / 1.273 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/1.275, allocations: 31.83 kB / 1.273 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.201e-05/1.275, allocations: 34.69 kB / 1.273 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.754e-05/1.275, allocations: 25.77 kB / 1.273 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/1.275, allocations: 5.875 kB / 1.273 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.474e-05/1.275, allocations: 6.438 kB / 1.273 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/1.275, allocations: 16.61 kB / 1.273 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/1.275, allocations: 32.5 kB / 1.273 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/1.275, allocations: 78.47 kB / 1.273 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/1.275, allocations: 0 / 1.273 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.286e-06/1.275, allocations: 0 / 1.273 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.422e-06/1.275, allocations: 0.75 kB / 1.273 GB, free: 7.164 MB / 0.9981 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.0004845/1.276, allocations: 384.3 kB / 1.274 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/1.276, allocations: 9.312 kB / 1.274 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/1.276, allocations: 13.88 kB / 1.274 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/1.276, allocations: 192.5 kB / 1.274 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/1.276, allocations: 7.953 kB / 1.274 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/1.276, allocations: 9.422 kB / 1.274 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/1.276, allocations: 96.03 kB / 1.274 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/1.276, allocations: 4.75 kB / 1.274 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/1.276, allocations: 8.75 kB / 1.274 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/1.276, allocations: 6.781 kB / 1.274 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.479e-05/1.276, allocations: 35.84 kB / 1.274 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000575/1.277, allocations: 434.5 kB / 1.274 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.964e-05/1.277, allocations: 47.05 kB / 1.274 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/1.277, allocations: 19 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/1.277, allocations: 0.8125 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/1.277, allocations: 32.47 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.277, allocations: 0 / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001848/1.277, allocations: 60.88 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/1.277, allocations: 77.7 kB / 1.275 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/1.277, allocations: 159.3 kB / 1.275 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/1.277, allocations: 25.7 kB / 1.275 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/1.277, allocations: 109.9 kB / 1.275 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.157e-06/1.277, allocations: 8.609 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.205e-05/1.277, allocations: 14.16 kB / 1.275 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.481e-05/1.278, allocations: 319.4 kB / 1.275 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/1.278, allocations: 15.48 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/1.278, allocations: 18.75 kB / 1.275 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.095e-05/1.278, allocations: 29.91 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/1.278, allocations: 0 / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.508e-05/1.278, allocations: 56.48 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.278, allocations: 11.14 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/1.278, allocations: 3.938 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/1.278, allocations: 4.906 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.772e-05/1.278, allocations: 9.078 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/1.278, allocations: 1.094 kB / 1.275 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.049e-05/1.278, allocations: 9.719 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/1.278, allocations: 2.031 kB / 1.275 GB, free: 5.07 MB / 0.9981 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 6.316e-05/1.278, allocations: 109.7 kB / 1.275 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/1.278, allocations: 15.91 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/1.278, allocations: 15.72 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.278, allocations: 0 / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/1.278, allocations: 0.875 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.278, allocations: 2.328 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/1.278, allocations: 470.5 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.278, allocations: 0.9688 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.852e-05/1.278, allocations: 2.938 kB / 1.276 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.278, allocations: 5.062 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/1.278, allocations: 1.594 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.278, allocations: 0 / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/1.278, allocations: 8.906 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.158e-05/1.278, allocations: 79.62 kB / 1.276 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.439e-05/1.278, allocations: 88.31 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/1.278, allocations: 0.9688 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/1.278, allocations: 4.688 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/1.279, allocations: 3.547 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/1.279, allocations: 1.25 kB / 1.276 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.363e-05/1.279, allocations: 120 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.279, allocations: 0 / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002003/1.279, allocations: 6.75 kB / 1.276 GB, free: 4.16 MB / 0.9981 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.0001318/1.279, allocations: 101.9 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001203/1.279, allocations: 24.62 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.279, allocations: 0 / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.114e-05/1.279, allocations: 4.188 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/1.279, allocations: 11.12 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003984/1.28, allocations: 176.3 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/1.28, allocations: 0.6961 MB / 1.277 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.943e-05/1.28, allocations: 10.97 kB / 1.277 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/1.28, allocations: 10.66 kB / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/1.28, allocations: 3.938 kB / 1.277 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of Templates: time 0.003319/1.283, allocations: 466.2 kB / 1.278 GB, free: 3.102 MB / 0.9981 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 -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: 9.884914951398969]