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.001659/0.001659, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002091/0.002091, allocations: 213 kB / 22.25 MB, free: 5.262 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.6/1.6, allocations: 230.6 MB / 256 MB, free: 7.785 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 3.001/3.001, allocations: 475.9 MB / 0.7699 GB, free: 4.777 MB / 0.6231 GB " [Timeout remaining time 176] 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.00217/0.00217, allocations: 66.98 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.4502, allocations: 170 MB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002328/0.4525, allocations: 0.7982 MB / 1.284 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001672/0.4527, allocations: 43.78 kB / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.67e-05/0.4527, allocations: 0 / 1.284 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.611e-05/0.4528, allocations: 7.922 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.474e-05/0.4529, allocations: 11.88 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.05e-05/0.4529, allocations: 15.98 kB / 1.284 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.4531, allocations: 67.78 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.4532, allocations: 23.98 kB / 1.284 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.013e-05/0.4533, allocations: 27.86 kB / 1.284 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/0.4534, allocations: 35.77 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.4534, allocations: 4 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.4534, allocations: 8 kB / 1.284 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.4534, allocations: 15.94 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.051e-05/0.4535, allocations: 23.86 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.4536, allocations: 79.52 kB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4536, allocations: 0 / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4536, allocations: 3.938 kB / 1.284 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.4536, allocations: 0 / 1.284 GB, free: 10.78 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.0005237/0.4541, allocations: 314.1 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4542, allocations: 12.03 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.4542, allocations: 12.89 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.4544, allocations: 126.4 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.4545, allocations: 12.31 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.4545, allocations: 4.375 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.4547, allocations: 98.2 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4547, allocations: 192 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.4547, allocations: 3.938 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4547, allocations: 7.938 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.069e-05/0.4548, allocations: 39.92 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.4554, allocations: 352.5 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.152e-05/0.4555, allocations: 41.25 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.262e-05/0.4555, allocations: 21.77 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.4555, allocations: 4 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.4555, allocations: 30.56 kB / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4555, allocations: 0 / 1.285 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002173/0.4558, allocations: 53.53 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.4558, allocations: 77.11 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.456, allocations: 131.3 kB / 1.285 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.456, allocations: 29.7 kB / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.375e-05/0.4561, allocations: 115.9 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.4561, allocations: 3.953 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.4561, allocations: 21.7 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.4563, allocations: 314.8 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.982e-05/0.4563, allocations: 4 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.4564, allocations: 29.64 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.4564, allocations: 21.72 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4564, allocations: 4 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001162/0.4565, allocations: 57.59 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4565, allocations: 4 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.4565, allocations: 7.984 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.4566, allocations: 3.938 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.4566, allocations: 4 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4566, allocations: 4 kB / 1.286 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.4567, allocations: 4 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.4567, allocations: 0 / 1.286 GB, free: 8.641 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 0.0001124/0.4568, allocations: 117.8 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.4568, allocations: 15.89 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.741e-05/0.4569, allocations: 15.39 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4569, allocations: 0 / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4569, allocations: 4 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4569, allocations: 0 / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.4573, allocations: 406.5 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.4573, allocations: 3.938 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.4573, allocations: 11.92 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4573, allocations: 96 / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.4573, allocations: 4.047 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4573, allocations: 7.938 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4573, allocations: 0 / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.21e-05/0.4574, allocations: 69.95 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.4574, allocations: 11.92 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.4575, allocations: 0 / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.978e-05/0.4575, allocations: 8 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.183e-05/0.4575, allocations: 0 / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.4575, allocations: 0 / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.557e-05/0.4576, allocations: 100.9 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4576, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001983/0.4578, allocations: 11.98 kB / 1.287 GB, free: 7.793 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.0001301/0.4579, allocations: 107.2 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.63e-05/0.458, allocations: 16 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.458, allocations: 0 / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.267e-05/0.458, allocations: 7.938 kB / 1.287 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.4582, allocations: 3.938 kB / 1.287 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.4586, allocations: 159 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.502e-05/0.4587, allocations: 87.14 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.828e-05/0.4587, allocations: 4 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.667e-05/0.4587, allocations: 11.44 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.4587, allocations: 0 / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of Templates: time 0.003089/0.4618, allocations: 377.6 kB / 1.288 GB, free: 6.98 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/jenkins/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: 9.818241011351347]