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.001723/0.001723, allocations: 102.1 kB / 19.7 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.002289/0.002289, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.825/2.825, allocations: 476.7 MB / 0.7714 GB, free: 4.309 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_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.002082/0.002082, allocations: 66.91 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3475, allocations: 170 MB / 1.285 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002275/0.3498, allocations: 0.8391 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001449/0.3499, allocations: 43.78 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.35, allocations: 0 / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.35, allocations: 3.938 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.224e-05/0.3501, allocations: 15.88 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.098e-05/0.3502, allocations: 11.98 kB / 1.286 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.3503, allocations: 75.7 kB / 1.286 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.3505, allocations: 31.92 kB / 1.286 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.511e-05/0.3505, allocations: 27.86 kB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.903e-05/0.3506, allocations: 27.8 kB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.3506, allocations: 8 kB / 1.286 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.229e-05/0.3507, allocations: 8 kB / 1.286 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.3507, allocations: 23.91 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.467e-05/0.3507, allocations: 27.81 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.3509, allocations: 71.59 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3509, allocations: 0 / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.867e-06/0.3509, allocations: 3.984 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.3509, allocations: 0 / 1.286 GB, free: 10.09 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.0004828/0.3514, allocations: 306.1 kB / 1.286 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3514, allocations: 12.03 kB / 1.286 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.493e-05/0.3515, allocations: 8.891 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.3517, allocations: 142.3 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3517, allocations: 4.375 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.3517, allocations: 12.38 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.3519, allocations: 91.84 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.3519, allocations: 192 / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3519, allocations: 7.938 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.3519, allocations: 4 kB / 1.286 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.518e-05/0.352, allocations: 39.92 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.3526, allocations: 395.8 kB / 1.287 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.804e-05/0.3527, allocations: 37.28 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.3527, allocations: 33.83 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.3528, allocations: 0 / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.3528, allocations: 34.5 kB / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3528, allocations: 0 / 1.287 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001923/0.353, allocations: 57.53 kB / 1.287 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.353, allocations: 81.11 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.3532, allocations: 158.5 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.3532, allocations: 29.7 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.646e-05/0.3533, allocations: 108 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.3533, allocations: 3.953 kB / 1.287 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.3533, allocations: 25.64 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.3535, allocations: 318.8 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.3535, allocations: 3.984 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.3535, allocations: 21.72 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.457e-05/0.3536, allocations: 29.66 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3536, allocations: 0 / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.985e-05/0.3537, allocations: 61.58 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3537, allocations: 8 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3537, allocations: 3.938 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3537, allocations: 0 / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.31e-05/0.3538, allocations: 4 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.3538, allocations: 8.062 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.962e-05/0.3538, allocations: 7.891 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-06/0.3538, allocations: 0 / 1.288 GB, free: 7.844 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.27e-05/0.3539, allocations: 113.8 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.3539, allocations: 7.953 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.354, allocations: 19.73 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.354, allocations: 3.938 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.354, allocations: 0 / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.354, allocations: 4 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.3545, allocations: 441.9 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3545, allocations: 3.938 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.089e-05/0.3545, allocations: 4 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3545, allocations: 0 / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.3545, allocations: 0 / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3545, allocations: 0 / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3545, allocations: 0 / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.3547, allocations: 93.88 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.3547, allocations: 11.89 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.3547, allocations: 4 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.968e-05/0.3547, allocations: 96 / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.3547, allocations: 7.984 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.3547, allocations: 3.938 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001017/0.3548, allocations: 125.3 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3548, allocations: 0 / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001831/0.355, allocations: 8 kB / 1.289 GB, free: 6.922 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.0001854/0.3552, allocations: 95.25 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.999e-05/0.3553, allocations: 15.98 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3553, allocations: 0 / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/0.3553, allocations: 7.938 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.3555, allocations: 16.19 kB / 1.289 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.3558, allocations: 183 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.3562, allocations: 0.6924 MB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.3562, allocations: 11.44 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3562, allocations: 0 / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of Templates: time 0.00261/0.3588, allocations: 0.881 MB / 1.29 GB, free: 4.953 MB / 0.9825 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.222676390985725]