Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001631/0.001631, allocations: 99.64 kB / 18.95 MB, free: 2.836 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.002123/0.002123, allocations: 210.4 kB / 22.24 MB, free: 5.102 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.62/1.62, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.337/3.337, allocations: 0.4892 GB / 0.7943 GB, free: 35.67 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002143/0.002143, allocations: 72.78 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4297, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002592/0.4323, allocations: 0.7919 MB / 1.326 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001386/0.4325, allocations: 43.78 kB / 1.326 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.622e-05/0.4325, allocations: 4 kB / 1.326 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.998e-05/0.4326, allocations: 11.86 kB / 1.326 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.049e-05/0.4327, allocations: 7.938 kB / 1.326 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.008e-05/0.4327, allocations: 19.98 kB / 1.326 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.4329, allocations: 63.72 kB / 1.326 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.433, allocations: 35.95 kB / 1.326 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.4332, allocations: 23.88 kB / 1.327 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.4332, allocations: 27.84 kB / 1.327 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.4332, allocations: 4 kB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.523e-05/0.4332, allocations: 8 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.4333, allocations: 19.88 kB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.4333, allocations: 27.8 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.4335, allocations: 79.58 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4335, allocations: 0 / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.835e-06/0.4335, allocations: 0 / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4335, allocations: 0 / 1.327 GB, free: 0.6992 MB / 1.014 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.0006479/0.4341, allocations: 306 kB / 1.327 GB, free: 376 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.4342, allocations: 8.031 kB / 1.327 GB, free: 368 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.363e-05/0.4343, allocations: 12.89 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/0.4345, allocations: 134.4 kB / 1.327 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.4345, allocations: 8.359 kB / 1.327 GB, free: 188 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.4346, allocations: 12.38 kB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.4348, allocations: 95.84 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.4348, allocations: 192 / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.4348, allocations: 11.88 kB / 1.327 GB, free: 56 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4348, allocations: 4 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.124e-05/0.4349, allocations: 35.98 kB / 1.327 GB, free: 16 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/0.4355, allocations: 352.4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.346e-05/0.4356, allocations: 41.34 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.824e-05/0.4356, allocations: 17.78 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.757e-06/0.4356, allocations: 0 / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.08e-05/0.4357, allocations: 42.5 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.4357, allocations: 3.938 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002027/0.4359, allocations: 53.58 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.4359, allocations: 81.05 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.4361, allocations: 121.8 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4361, allocations: 25.7 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.4362, allocations: 119.9 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.4362, allocations: 4.203 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-05/0.4363, allocations: 21.72 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4364, allocations: 310.8 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.275e-05/0.4365, allocations: 11.98 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-05/0.4365, allocations: 17.72 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.693e-05/0.4365, allocations: 29.66 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.4365, allocations: 0 / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.696e-05/0.4366, allocations: 57.58 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4366, allocations: 4.062 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4366, allocations: 4 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.4367, allocations: 7.938 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.383e-05/0.4367, allocations: 8 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.4368, allocations: 3.984 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.59e-05/0.4368, allocations: 4 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.4368, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 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.0001116/0.4369, allocations: 121.7 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.4369, allocations: 11.94 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.437, allocations: 7.406 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.437, allocations: 0 / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.437, allocations: 4 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.437, allocations: 4 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.4374, allocations: 406.5 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4374, allocations: 7.938 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.4374, allocations: 4 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.4374, allocations: 4 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.4374, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4374, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4374, allocations: 0 / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.4375, allocations: 85.94 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.4375, allocations: 11.89 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.4376, allocations: 3.938 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.919e-05/0.4376, allocations: 4 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.4376, allocations: 3.984 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.4376, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.903e-05/0.4377, allocations: 102.8 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4377, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001895/0.4379, allocations: 8 kB / 1.329 GB, free: 13.7 MB / 1.029 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.0001563/0.438, allocations: 103.3 kB / 1.329 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.4381, allocations: 19.94 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4381, allocations: 0 / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.635e-05/0.4381, allocations: 8 kB / 1.329 GB, free: 13.56 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.4383, allocations: 6.875 kB / 1.329 GB, free: 13.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.4387, allocations: 158.8 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.022e-05/0.4388, allocations: 87.38 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.4388, allocations: 7.984 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.4389, allocations: 7.438 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4389, allocations: 3.938 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of Templates: time 0.003021/0.4419, allocations: 371.2 kB / 1.33 GB, free: 12.88 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.709316603839397]