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.001218/0.001218, allocations: 114.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.001651/0.001651, allocations: 193.5 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.548/1.548, allocations: 225.6 MB / 250.9 MB, free: 13.31 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.853/2.853, allocations: 476.7 MB / 0.7645 GB, free: 10.12 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.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.001974/0.001974, allocations: 67.91 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9322/0.9341, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002339/0.9365, allocations: 0.8459 MB / 1.275 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001271/0.9366, allocations: 39.8 kB / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.842e-05/0.9367, allocations: 0 / 1.275 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.572e-05/0.9367, allocations: 7.875 kB / 1.275 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.031e-05/0.9368, allocations: 15.91 kB / 1.275 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.196e-05/0.9369, allocations: 15.98 kB / 1.275 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.937, allocations: 63.78 kB / 1.275 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.9371, allocations: 35.88 kB / 1.275 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.674e-05/0.9372, allocations: 27.86 kB / 1.275 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.9373, allocations: 23.86 kB / 1.275 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.9373, allocations: 8 kB / 1.275 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.358e-05/0.9373, allocations: 8 kB / 1.275 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.9373, allocations: 15.92 kB / 1.275 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.448e-05/0.9374, allocations: 35.75 kB / 1.275 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.9375, allocations: 78.3 kB / 1.275 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.9375, allocations: 0 / 1.275 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9375, allocations: 0 / 1.275 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.9375, allocations: 3.938 kB / 1.275 GB, free: 3.352 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.0005914/0.9381, allocations: 379.2 kB / 1.276 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.9382, allocations: 12.03 kB / 1.276 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.9382, allocations: 12.84 kB / 1.276 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.9384, allocations: 196.2 kB / 1.276 GB, free: 2.676 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.9385, allocations: 4.375 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.9385, allocations: 8.375 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.9387, allocations: 89.83 kB / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.9387, allocations: 192 / 1.276 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.9387, allocations: 3.938 kB / 1.276 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.9387, allocations: 8 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.67e-05/0.9388, allocations: 43.91 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.9394, allocations: 432.6 kB / 1.276 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.478e-05/0.9395, allocations: 45.34 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.9395, allocations: 17.78 kB / 1.276 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.9395, allocations: 0 / 1.276 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.9396, allocations: 38.56 kB / 1.276 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.9396, allocations: 0 / 1.276 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001835/0.9397, allocations: 57.52 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.9398, allocations: 77.36 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.94, allocations: 162.2 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.94, allocations: 29.64 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.9401, allocations: 104 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.9402, allocations: 7.953 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.9402, allocations: 21.67 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.9404, allocations: 318.8 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.9404, allocations: 4 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.742e-05/0.9404, allocations: 21.72 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.9404, allocations: 25.7 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.9404, allocations: 7.938 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.628e-05/0.9405, allocations: 57.69 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.9406, allocations: 4 kB / 1.277 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.9406, allocations: 11.86 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.9406, allocations: 4.062 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.9407, allocations: 11.98 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.9407, allocations: 0 / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.279e-05/0.9407, allocations: 7.938 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.9407, allocations: 0 / 1.277 GB, free: 0.9062 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.436e-05/0.9408, allocations: 118.3 kB / 1.277 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.9408, allocations: 7.953 kB / 1.277 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.9409, allocations: 15.81 kB / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.9409, allocations: 0 / 1.278 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.9409, allocations: 3.984 kB / 1.278 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.9409, allocations: 4 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.9414, allocations: 470.7 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9414, allocations: 0 / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.015e-05/0.9414, allocations: 4 kB / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9414, allocations: 0 / 1.278 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.9414, allocations: 4 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.9414, allocations: 4 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.9414, allocations: 4.062 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001044/0.9415, allocations: 81.88 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.9416, allocations: 85.06 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.9416, allocations: 0 / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.028e-05/0.9416, allocations: 0 / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.944e-05/0.9416, allocations: 11.92 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.9416, allocations: 8.078 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001022/0.9417, allocations: 121.1 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9417, allocations: 0 / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000191/0.9419, allocations: 8 kB / 1.278 GB, free: 15.86 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.0001392/0.9421, allocations: 95.25 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.641e-05/0.9422, allocations: 12 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.9422, allocations: 4 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.418e-05/0.9422, allocations: 12.06 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.9423, allocations: 7.938 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.9427, allocations: 175.2 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.9431, allocations: 0.6963 MB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.359e-05/0.9431, allocations: 8.547 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.9431, allocations: 19.38 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9431, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.003285/0.9464, allocations: 473.9 kB / 1.28 GB, free: 14.31 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 cvode -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.329512260854244]