Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001581/0.001581, 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.001829/0.001829, allocations: 214.6 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.16/3.16, allocations: 0.49 GB / 0.7958 GB, free: 33.31 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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_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.002007/0.002007, allocations: 75.92 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3162, allocations: 176.1 MB / 1.327 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002014/0.3182, allocations: 0.8461 MB / 1.328 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001134/0.3183, allocations: 43.78 kB / 1.328 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.3184, allocations: 7.938 kB / 1.328 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.587e-05/0.3184, allocations: 11.86 kB / 1.328 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.3185, allocations: 7.875 kB / 1.328 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.723e-05/0.3185, allocations: 19.98 kB / 1.328 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3186, allocations: 59.84 kB / 1.328 GB, free: 484 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.3188, allocations: 31.97 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.27e-05/0.3188, allocations: 31.86 kB / 1.328 GB, free: 420 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.601e-05/0.3189, allocations: 35.78 kB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.3189, allocations: 4 kB / 1.328 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.3189, allocations: 8 kB / 1.328 GB, free: 372 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.319, allocations: 11.94 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.319, allocations: 39.73 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.3191, allocations: 71.58 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3191, allocations: 4 kB / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3191, allocations: 0 / 1.328 GB, free: 244 kB / 1.014 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3191, allocations: 0 / 1.328 GB, free: 244 kB / 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.0004368/0.3196, allocations: 314 kB / 1.329 GB, free: 15.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3196, allocations: 8.031 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.3196, allocations: 8.891 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3198, allocations: 134.4 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3198, allocations: 4.375 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.3199, allocations: 8.375 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.32, allocations: 91.89 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.32, allocations: 4.188 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.32, allocations: 11.92 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3201, allocations: 0 / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.387e-05/0.3201, allocations: 35.98 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.3207, allocations: 399.8 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.865e-05/0.3207, allocations: 37.28 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/0.3208, allocations: 21.7 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-06/0.3208, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.3208, allocations: 38.59 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.3208, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001731/0.321, allocations: 61.75 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.321, allocations: 77.11 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.3212, allocations: 165.2 kB / 1.33 GB, free: 14.67 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3212, allocations: 25.7 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.407e-05/0.3213, allocations: 111.9 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-06/0.3213, allocations: 3.953 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.3213, allocations: 21.66 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3215, allocations: 322.8 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.3215, allocations: 12.03 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.797e-05/0.3215, allocations: 21.7 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.3215, allocations: 25.66 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3215, allocations: 0 / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.122e-05/0.3216, allocations: 61.64 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3217, allocations: 4 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3217, allocations: 8 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3217, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.3217, allocations: 11.94 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3217, allocations: 0 / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.874e-05/0.3218, allocations: 3.953 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.3218, allocations: 4 kB / 1.33 GB, free: 14 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 8.178e-05/0.3219, allocations: 113.8 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.3219, allocations: 7.953 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.341e-05/0.3219, allocations: 15.73 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3219, allocations: 8 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3219, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.3219, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.3224, allocations: 445.8 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3224, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.3224, allocations: 4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3224, allocations: 0 / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.3224, allocations: 4.062 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.3224, allocations: 7.984 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3224, allocations: 0 / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.526e-05/0.3225, allocations: 81.81 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.3225, allocations: 19.98 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.3226, allocations: 3.984 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.978e-05/0.3226, allocations: 32 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.129e-05/0.3226, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.3226, allocations: 4 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.785e-05/0.3227, allocations: 121.1 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3227, allocations: 3.938 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001862/0.3229, allocations: 4 kB / 1.331 GB, free: 13.07 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.000109/0.323, allocations: 99.23 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.017e-05/0.3231, allocations: 24 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3231, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.446e-05/0.3231, allocations: 11.98 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.3233, allocations: 17.72 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.3236, allocations: 180.4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3239, allocations: 0.6926 MB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.3239, allocations: 15.42 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of SimCode: time 3.6e-07/0.3239, allocations: 7.938 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of Templates: time 0.002373/0.3263, allocations: 0.8599 MB / 1.333 GB, free: 11.09 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.90652637500898]