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.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.001796/0.001796, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.002488/0.002488, allocations: 216.7 kB / 23.01 MB, free: 4.566 MB / 14.72 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 1.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.69/2.69, allocations: 476.7 MB / 0.7714 GB, free: 4.285 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 62.78 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3377, allocations: 170 MB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002094/0.3398, allocations: 0.8274 MB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001181/0.3399, allocations: 43.78 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.34, allocations: 4 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.252e-05/0.34, allocations: 11.86 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.096e-05/0.3401, allocations: 7.875 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.565e-05/0.3401, allocations: 19.98 kB / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.3403, allocations: 55.84 kB / 1.286 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.3404, allocations: 39.86 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.3405, allocations: 27.86 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.954e-05/0.3405, allocations: 35.77 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.3406, allocations: 11.94 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.3406, allocations: 8 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.963e-05/0.3406, allocations: 8 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.3406, allocations: 39.73 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.3408, allocations: 71.64 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3408, allocations: 0 / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3408, allocations: 0 / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3408, allocations: 0 / 1.286 GB, free: 10 MB / 0.9825 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.0004448/0.3412, allocations: 310.1 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3412, allocations: 12.03 kB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.808e-05/0.3413, allocations: 12.89 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.3415, allocations: 134.4 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.3415, allocations: 8.375 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.3415, allocations: 8.359 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3417, allocations: 99.8 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3417, allocations: 192 / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.3417, allocations: 7.938 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.3417, allocations: 4 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.423e-05/0.3418, allocations: 31.98 kB / 1.286 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.3423, allocations: 407.8 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.2e-05/0.3424, allocations: 33.16 kB / 1.287 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.3425, allocations: 21.84 kB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.646e-06/0.3425, allocations: 4 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.3425, allocations: 34.59 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3425, allocations: 0 / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001748/0.3427, allocations: 61.45 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.3427, allocations: 77.11 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.3429, allocations: 166.5 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3429, allocations: 25.7 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.343, allocations: 116 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.095e-06/0.343, allocations: 3.953 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.343, allocations: 13.72 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3432, allocations: 318.8 kB / 1.288 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.3432, allocations: 8 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.3432, allocations: 17.72 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.777e-05/0.3433, allocations: 37.64 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3433, allocations: 3.938 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.172e-05/0.3433, allocations: 49.66 kB / 1.288 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3433, allocations: 4 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.3434, allocations: 7.938 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3434, allocations: 0 / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.378e-05/0.3434, allocations: 11.98 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3434, allocations: 8 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.3435, allocations: 11.89 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-06/0.3435, allocations: 0 / 1.288 GB, free: 7.746 MB / 0.9825 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.454e-05/0.3436, allocations: 113.8 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.3436, allocations: 7.953 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.3436, allocations: 11.75 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3436, allocations: 0 / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3436, allocations: 3.984 kB / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3436, allocations: 0 / 1.288 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.344, allocations: 445.8 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.344, allocations: 4 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.599e-05/0.3441, allocations: 0 / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3441, allocations: 4 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-06/0.3441, allocations: 0 / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3441, allocations: 0 / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3441, allocations: 0 / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.372e-05/0.3442, allocations: 89.88 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.3442, allocations: 15.91 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3442, allocations: 3.938 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.952e-05/0.3442, allocations: 4 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.3442, allocations: 0 / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.3442, allocations: 3.984 kB / 1.288 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.11e-05/0.3443, allocations: 121.5 kB / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3443, allocations: 0 / 1.289 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000186/0.3445, allocations: 12 kB / 1.289 GB, free: 6.836 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.0001128/0.3446, allocations: 99.23 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.474e-05/0.3447, allocations: 15.94 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3447, allocations: 0 / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.999e-06/0.3447, allocations: 4 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.3449, allocations: 18.22 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.3452, allocations: 180.5 kB / 1.289 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.3456, allocations: 0.6924 MB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.091e-05/0.3456, allocations: 11.44 kB / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3456, allocations: 0 / 1.29 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of Templates: time 0.002512/0.3481, allocations: 0.8733 MB / 1.29 GB, free: 4.875 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 -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/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: 10.930537267006002]