Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00174/0.00174, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002172/0.002172, allocations: 159.3 kB / 23.01 MB, free: 4.949 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.527/1.527, allocations: 177.2 MB / 203.4 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.973/2.973, allocations: 394.2 MB / 0.6386 GB, free: 11.92 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00231/0.00231, allocations: 63.89 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.103, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001957/1.105, allocations: 0.8013 MB / 1.187 GB, free: 15.66 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000116/1.105, allocations: 36.64 kB / 1.187 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/1.105, allocations: 5.75 kB / 1.187 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.887e-05/1.105, allocations: 5.578 kB / 1.187 GB, free: 15.63 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.324e-05/1.105, allocations: 9.547 kB / 1.187 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 6.845e-05/1.105, allocations: 21.33 kB / 1.187 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/1.105, allocations: 71.56 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/1.105, allocations: 31.84 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/1.105, allocations: 26.03 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/1.105, allocations: 23.75 kB / 1.188 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/1.105, allocations: 9.719 kB / 1.188 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.279e-05/1.105, allocations: 6.344 kB / 1.188 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.405e-05/1.105, allocations: 16.3 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/1.106, allocations: 23.8 kB / 1.188 GB, free: 15.5 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/1.106, allocations: 81.75 kB / 1.188 GB, free: 15.46 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.106, allocations: 0 / 1.188 GB, free: 15.46 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.003e-06/1.106, allocations: 4 kB / 1.188 GB, free: 15.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.309e-06/1.106, allocations: 0 / 1.188 GB, free: 15.46 MB / 1.076 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.0004113/1.106, allocations: 299.9 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/1.106, allocations: 9.781 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/1.106, allocations: 14.97 kB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/1.106, allocations: 144.2 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/1.106, allocations: 4.594 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/1.106, allocations: 8.562 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/1.107, allocations: 93.66 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.107, allocations: 192 / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/1.107, allocations: 13.58 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/1.107, allocations: 2.875 kB / 1.188 GB, free: 14.93 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/1.107, allocations: 38.56 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/1.107, allocations: 352.9 kB / 1.189 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.934e-05/1.107, allocations: 41.75 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/1.107, allocations: 17.56 kB / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/1.107, allocations: 0 / 1.189 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/1.107, allocations: 38.06 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/1.107, allocations: 4 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001721/1.107, allocations: 58.64 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/1.107, allocations: 79.05 kB / 1.189 GB, free: 14.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.911e-05/1.107, allocations: 127.9 kB / 1.189 GB, free: 14.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/1.108, allocations: 27.14 kB / 1.189 GB, free: 14.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/1.108, allocations: 113.6 kB / 1.189 GB, free: 14.08 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.306e-06/1.108, allocations: 8.547 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/1.108, allocations: 18.5 kB / 1.189 GB, free: 14.05 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.597e-05/1.108, allocations: 319.4 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/1.108, allocations: 7.562 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/1.108, allocations: 20.53 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.725e-05/1.108, allocations: 27.42 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/1.108, allocations: 0 / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.088e-05/1.108, allocations: 53.3 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/1.108, allocations: 4.562 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.108, allocations: 1.062 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/1.108, allocations: 9.797 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.168e-05/1.108, allocations: 6.797 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/1.108, allocations: 4.062 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/1.108, allocations: 9.297 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/1.108, allocations: 1.984 kB / 1.19 GB, free: 13.63 MB / 1.076 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 5.278e-05/1.108, allocations: 114.4 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/1.108, allocations: 2.469 kB / 1.19 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/1.108, allocations: 11.34 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/1.108, allocations: 1.188 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.108, allocations: 4.594 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/1.108, allocations: 0.7812 kB / 1.19 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/1.108, allocations: 416.9 kB / 1.19 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/1.108, allocations: 5.406 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.856e-05/1.108, allocations: 7.25 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.108, allocations: 1.609 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/1.108, allocations: 0 / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.108, allocations: 1.672 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.108, allocations: 1.219 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.499e-05/1.108, allocations: 73.16 kB / 1.19 GB, free: 12.99 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/1.108, allocations: 11.83 kB / 1.19 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/1.108, allocations: 1.875 kB / 1.19 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.808e-05/1.108, allocations: 5.125 kB / 1.19 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.747e-05/1.108, allocations: 1.781 kB / 1.19 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/1.109, allocations: 5.312 kB / 1.19 GB, free: 12.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.381e-05/1.109, allocations: 104.4 kB / 1.19 GB, free: 12.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.109, allocations: 0 / 1.19 GB, free: 12.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000206/1.109, allocations: 15.45 kB / 1.19 GB, free: 12.88 MB / 1.076 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 8.993e-05/1.109, allocations: 93.97 kB / 1.19 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.175e-05/1.109, allocations: 15.48 kB / 1.19 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.109, allocations: 128 / 1.19 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/1.109, allocations: 16.88 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/1.109, allocations: 6.75 kB / 1.191 GB, free: 12.78 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/1.109, allocations: 153.1 kB / 1.191 GB, free: 12.63 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.295e-05/1.109, allocations: 83.91 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.23e-05/1.109, allocations: 4.188 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/1.109, allocations: 15.16 kB / 1.191 GB, free: 12.54 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/1.109, allocations: 0 / 1.191 GB, free: 12.54 MB / 1.076 GB Notification: Performance of Templates: time 0.002724/1.112, allocations: 329.2 kB / 1.191 GB, free: 12.46 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.425487516098656]