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.001416/0.001416, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001954/0.001954, allocations: 210.1 kB / 22.99 MB, free: 4.98 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.323/3.323, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002046/0.002046, allocations: 69.62 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4944, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002313/0.4967, allocations: 0.7886 MB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001276/0.4969, allocations: 39.78 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.882e-05/0.4969, allocations: 4 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.545e-05/0.497, allocations: 11.86 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/0.4971, allocations: 15.88 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.765e-05/0.4971, allocations: 15.98 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.4972, allocations: 63.83 kB / 1.328 GB, free: 44 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.4974, allocations: 35.97 kB / 1.328 GB, free: 8 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.249e-05/0.4975, allocations: 27.98 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.488e-05/0.4975, allocations: 31.8 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.4976, allocations: 4 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.4976, allocations: 8 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.4976, allocations: 19.92 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.4976, allocations: 23.81 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.4978, allocations: 79.58 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4978, allocations: 3.984 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.873e-06/0.4978, allocations: 3.938 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.4978, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 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.0004721/0.4983, allocations: 305.9 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4983, allocations: 8.031 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.4984, allocations: 12.89 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.4986, allocations: 130.4 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.4986, allocations: 8.375 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.4986, allocations: 8.375 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.4988, allocations: 105.6 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4988, allocations: 192 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.4988, allocations: 7.938 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.4988, allocations: 4 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.572e-05/0.4989, allocations: 35.98 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.4994, allocations: 356.4 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.669e-05/0.4995, allocations: 37.22 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.4995, allocations: 17.78 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.4996, allocations: 4.031 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.4996, allocations: 38.56 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4996, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001832/0.4998, allocations: 57.52 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.4999, allocations: 77.11 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.5, allocations: 130.9 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.5001, allocations: 25.7 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.5001, allocations: 115.9 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.5002, allocations: 8.203 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.5002, allocations: 17.72 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5003, allocations: 310.8 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.5004, allocations: 15.98 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.5004, allocations: 17.72 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.642e-05/0.5004, allocations: 29.66 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5004, allocations: 0 / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.074e-05/0.5005, allocations: 57.64 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5005, allocations: 8.062 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.5005, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5006, allocations: 7.938 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.426e-05/0.5006, allocations: 7.938 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.5006, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.5007, allocations: 0 / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.5007, allocations: 4 kB / 1.33 GB, free: 13.66 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 9.397e-05/0.5008, allocations: 121.8 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.5008, allocations: 11.89 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.5008, allocations: 7.406 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.5008, allocations: 4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5008, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.5008, allocations: 4 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.5012, allocations: 406.5 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.5012, allocations: 7.938 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.8e-05/0.5013, allocations: 0 / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.5013, allocations: 4 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.5013, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.5013, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5013, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.5014, allocations: 85.94 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.5014, allocations: 11.89 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.5014, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.049e-05/0.5014, allocations: 4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.5014, allocations: 3.984 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.5014, allocations: 3.938 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.398e-05/0.5015, allocations: 100.1 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5015, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001904/0.5017, allocations: 8 kB / 1.331 GB, free: 12.81 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.0001357/0.5018, allocations: 103.3 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.734e-05/0.5019, allocations: 15.94 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5019, allocations: 4 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.291e-05/0.502, allocations: 8 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.5021, allocations: 9.469 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.5025, allocations: 158.6 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/0.5025, allocations: 87.38 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.5026, allocations: 7.984 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.5026, allocations: 7.438 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.5026, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of Templates: time 0.002858/0.5055, allocations: 404.2 kB / 1.332 GB, free: 11.96 MB / 1.029 GB " [Timeout remaining time 299] 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 -s cvode -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/jenkins1/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.375286711001536]