Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.001382/0.001382, 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.001584/0.001584, allocations: 214.2 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.718/2.718, allocations: 476.7 MB / 0.7714 GB, free: 4.281 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [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.002086/0.002086, allocations: 65.56 kB / 1.119 GB, free: 40.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.328, allocations: 170 MB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001974/0.33, allocations: 0.8338 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001011/0.3301, allocations: 35.86 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.903e-05/0.3301, allocations: 4 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.684e-05/0.3302, allocations: 11.86 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.537e-05/0.3302, allocations: 7.875 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.599e-05/0.3303, allocations: 19.98 kB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.3304, allocations: 63.83 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.3305, allocations: 27.98 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.436e-05/0.3306, allocations: 27.8 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.252e-05/0.3306, allocations: 31.84 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.3307, allocations: 8 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.3307, allocations: 11.94 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.3307, allocations: 8 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.3307, allocations: 43.67 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.3309, allocations: 79.52 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3309, allocations: 0 / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.313e-06/0.3309, allocations: 4 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.3309, allocations: 0 / 1.286 GB, free: 9.973 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.0004249/0.3313, allocations: 310.1 kB / 1.286 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.3313, allocations: 12.03 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.3314, allocations: 8.891 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.3316, allocations: 130.4 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3316, allocations: 8.359 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.3316, allocations: 8.375 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.3317, allocations: 102.3 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3318, allocations: 192 / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3318, allocations: 3.938 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.3318, allocations: 4 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.3319, allocations: 43.92 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005464/0.3324, allocations: 391.8 kB / 1.287 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.779e-05/0.3325, allocations: 41.19 kB / 1.287 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.3325, allocations: 29.83 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.3325, allocations: 0 / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.3325, allocations: 30.56 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.3325, allocations: 0 / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001782/0.3327, allocations: 57.53 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.3328, allocations: 77.11 kB / 1.287 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.3329, allocations: 162.5 kB / 1.287 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.333, allocations: 29.64 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.333, allocations: 112 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.333, allocations: 7.953 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.3331, allocations: 17.7 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3332, allocations: 318.8 kB / 1.288 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.3332, allocations: 8 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.3333, allocations: 21.7 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.413e-05/0.3333, allocations: 29.66 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3333, allocations: 0 / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.714e-05/0.3334, allocations: 57.58 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3334, allocations: 8 kB / 1.288 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.3334, allocations: 3.938 kB / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3334, allocations: 0 / 1.288 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.3335, allocations: 12.06 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3335, allocations: 4 kB / 1.288 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.89e-05/0.3335, allocations: 7.891 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.3336, allocations: 8 kB / 1.288 GB, free: 7.723 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.53e-05/0.3336, allocations: 109.8 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.3337, allocations: 11.95 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/0.3337, allocations: 11.73 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3337, allocations: 0 / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3337, allocations: 4 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.3337, allocations: 4 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.3341, allocations: 441.8 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3341, allocations: 0 / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.3341, allocations: 4 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3341, allocations: 0 / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.619e-06/0.3341, allocations: 0 / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3341, allocations: 0 / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3341, allocations: 7.938 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.833e-05/0.3342, allocations: 81.94 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.067e-05/0.3343, allocations: 19.84 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.3343, allocations: 3.984 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.3343, allocations: 0 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.3343, allocations: 0 / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3343, allocations: 7.938 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.147e-05/0.3344, allocations: 122.1 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3344, allocations: 4 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001858/0.3346, allocations: 4 kB / 1.289 GB, free: 6.816 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.0001114/0.3347, allocations: 99.25 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.997e-05/0.3348, allocations: 19.94 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3348, allocations: 0 / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.535e-05/0.3348, allocations: 12.17 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.335, allocations: 7.938 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.3353, allocations: 184.4 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.3357, allocations: 0.6924 MB / 1.29 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.3357, allocations: 11.44 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.3357, allocations: 0 / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of Templates: time 0.002476/0.3382, allocations: 0.8773 MB / 1.29 GB, free: 4.844 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.800222516001668]