Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.001381/0.001381, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001538/0.001538, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.789 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.911/2.911, allocations: 475.9 MB / 0.7699 GB, free: 4.773 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_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [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.002192/0.002192, allocations: 68.28 kB / 1.117 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.393, allocations: 169.9 MB / 1.283 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002116/0.3951, allocations: 0.7868 MB / 1.284 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000128/0.3952, allocations: 47.78 kB / 1.284 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.746e-05/0.3953, allocations: 4 kB / 1.284 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.487e-05/0.3953, allocations: 7.875 kB / 1.284 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.671e-05/0.3954, allocations: 7.875 kB / 1.284 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.329e-05/0.3954, allocations: 23.97 kB / 1.284 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.3956, allocations: 59.84 kB / 1.284 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.3957, allocations: 31.97 kB / 1.284 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.173e-05/0.3958, allocations: 31.8 kB / 1.284 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.3958, allocations: 23.8 kB / 1.284 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.3958, allocations: 8 kB / 1.284 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.3959, allocations: 4 kB / 1.284 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.3959, allocations: 15.98 kB / 1.284 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.339e-05/0.3959, allocations: 23.81 kB / 1.284 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.396, allocations: 83.56 kB / 1.284 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.396, allocations: 0 / 1.284 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/0.396, allocations: 0 / 1.284 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.3961, allocations: 4 kB / 1.284 GB, free: 2.543 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.0004398/0.3965, allocations: 305.9 kB / 1.284 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3965, allocations: 8.031 kB / 1.284 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.3966, allocations: 8.891 kB / 1.284 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.3968, allocations: 130.4 kB / 1.285 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3968, allocations: 4.375 kB / 1.285 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.3968, allocations: 16.38 kB / 1.285 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.397, allocations: 95.78 kB / 1.285 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.397, allocations: 4.172 kB / 1.285 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.397, allocations: 15.94 kB / 1.285 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.397, allocations: 0 / 1.285 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001188/0.3971, allocations: 39.92 kB / 1.285 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005131/0.3976, allocations: 360.3 kB / 1.285 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.203e-05/0.3977, allocations: 37.16 kB / 1.285 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.3978, allocations: 21.94 kB / 1.285 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.3978, allocations: 3.938 kB / 1.285 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.3978, allocations: 34.56 kB / 1.285 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3978, allocations: 0 / 1.285 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001825/0.398, allocations: 57.52 kB / 1.285 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.398, allocations: 81.11 kB / 1.285 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.3982, allocations: 128.5 kB / 1.285 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.3982, allocations: 25.7 kB / 1.285 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.3983, allocations: 111.9 kB / 1.286 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.716e-06/0.3983, allocations: 4.203 kB / 1.286 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.3983, allocations: 21.72 kB / 1.286 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3985, allocations: 318.8 kB / 1.286 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.3985, allocations: 8 kB / 1.286 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.3985, allocations: 13.72 kB / 1.286 GB, free: 0.5273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.081e-05/0.3986, allocations: 29.66 kB / 1.286 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3986, allocations: 0 / 1.286 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.888e-05/0.3987, allocations: 53.64 kB / 1.286 GB, free: 444 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3987, allocations: 9.875 kB / 1.286 GB, free: 436 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3987, allocations: 4.062 kB / 1.286 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.3987, allocations: 3.938 kB / 1.286 GB, free: 428 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.3988, allocations: 7.938 kB / 1.286 GB, free: 420 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3988, allocations: 4 kB / 1.286 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.3988, allocations: 0 / 1.286 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.3988, allocations: 4 kB / 1.286 GB, free: 412 kB / 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.86e-05/0.3989, allocations: 117.8 kB / 1.286 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.3989, allocations: 11.95 kB / 1.286 GB, free: 272 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.399, allocations: 11.41 kB / 1.286 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.399, allocations: 0 / 1.286 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.399, allocations: 4 kB / 1.286 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.399, allocations: 0 / 1.286 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.3994, allocations: 410.5 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.3994, allocations: 3.938 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.954e-05/0.3994, allocations: 4 kB / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3994, allocations: 0 / 1.287 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.3994, allocations: 3.938 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3994, allocations: 0 / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3994, allocations: 4 kB / 1.287 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.596e-05/0.3995, allocations: 85.94 kB / 1.287 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.147e-05/0.3995, allocations: 11.88 kB / 1.287 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.3995, allocations: 0 / 1.287 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/0.3996, allocations: 7.984 kB / 1.287 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.971e-05/0.3996, allocations: 0 / 1.287 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3996, allocations: 4 kB / 1.287 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.044e-05/0.3997, allocations: 99.27 kB / 1.287 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3997, allocations: 0 / 1.287 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001976/0.3999, allocations: 11.95 kB / 1.287 GB, free: 15.55 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.0001212/0.4, allocations: 91.25 kB / 1.287 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.122e-05/0.4001, allocations: 23.97 kB / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4001, allocations: 0 / 1.287 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.234e-05/0.4001, allocations: 7.984 kB / 1.287 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.4002, allocations: 11.94 kB / 1.287 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003399/0.4006, allocations: 158.7 kB / 1.287 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.625e-05/0.4007, allocations: 87.38 kB / 1.287 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.4007, allocations: 4 kB / 1.287 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.4007, allocations: 11.44 kB / 1.287 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.4007, allocations: 0 / 1.287 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.002886/0.4036, allocations: 367.6 kB / 1.288 GB, free: 14.75 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.219704227522016]