Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 115.9 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 194.2 kB / 20.03 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.048/3.048, allocations: 489.3 MB / 0.7687 GB, free: 3.805 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.88 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13/1.132, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002039/1.134, allocations: 0.8261 MB / 1.263 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001195/1.134, allocations: 41.69 kB / 1.263 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.664e-05/1.134, allocations: 2.719 kB / 1.263 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/1.134, allocations: 9.672 kB / 1.263 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/1.135, allocations: 9.188 kB / 1.263 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.362e-05/1.135, allocations: 19.94 kB / 1.263 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/1.135, allocations: 64.38 kB / 1.264 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/1.135, allocations: 45.81 kB / 1.264 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.266e-05/1.135, allocations: 26.25 kB / 1.264 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/1.135, allocations: 30.91 kB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/1.135, allocations: 6.562 kB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/1.135, allocations: 6.156 kB / 1.264 GB, free: 7.32 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/1.135, allocations: 11.75 kB / 1.264 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/1.135, allocations: 33.14 kB / 1.264 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/1.135, allocations: 81.66 kB / 1.264 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/1.135, allocations: 0 / 1.264 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.214e-06/1.135, allocations: 0 / 1.264 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.392e-06/1.135, allocations: 4.875 kB / 1.264 GB, free: 7.25 MB / 0.9981 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.0004059/1.136, allocations: 380.6 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/1.136, allocations: 9.25 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/1.136, allocations: 10.08 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/1.136, allocations: 192.6 kB / 1.264 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/1.136, allocations: 7.75 kB / 1.264 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/1.136, allocations: 9.391 kB / 1.264 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/1.136, allocations: 102.1 kB / 1.264 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/1.136, allocations: 1.125 kB / 1.264 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/1.136, allocations: 4.719 kB / 1.264 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.136, allocations: 2.172 kB / 1.264 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/1.136, allocations: 43.78 kB / 1.265 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/1.137, allocations: 433.9 kB / 1.265 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.655e-05/1.137, allocations: 49.8 kB / 1.265 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/1.137, allocations: 21.52 kB / 1.265 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/1.137, allocations: 0 / 1.265 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.572e-05/1.137, allocations: 32.64 kB / 1.265 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/1.137, allocations: 4 kB / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001706/1.137, allocations: 57.14 kB / 1.265 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/1.137, allocations: 78.08 kB / 1.265 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/1.137, allocations: 160.4 kB / 1.265 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/1.137, allocations: 26.52 kB / 1.265 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/1.137, allocations: 107.1 kB / 1.265 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.088e-05/1.137, allocations: 9.938 kB / 1.265 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/1.137, allocations: 18.7 kB / 1.265 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/1.138, allocations: 323 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/1.138, allocations: 4.484 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.652e-05/1.138, allocations: 20.55 kB / 1.266 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/1.138, allocations: 26.89 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.138, allocations: 0.75 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.244e-05/1.138, allocations: 61.56 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/1.138, allocations: 4.75 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.138, allocations: 4.781 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.138, allocations: 1.703 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.153e-05/1.138, allocations: 6.25 kB / 1.266 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/1.138, allocations: 4.797 kB / 1.266 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.391e-05/1.138, allocations: 11.09 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/1.138, allocations: 4.781 kB / 1.266 GB, free: 5.156 MB / 0.9981 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.695e-05/1.138, allocations: 114.9 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/1.138, allocations: 12.02 kB / 1.266 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/1.138, allocations: 20.28 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/1.138, allocations: 1.547 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.138, allocations: 0.8125 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.138, allocations: 0.8125 kB / 1.266 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/1.138, allocations: 470.8 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/1.138, allocations: 0.7812 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/1.138, allocations: 11.03 kB / 1.267 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.138, allocations: 4.75 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/1.138, allocations: 2.141 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.138, allocations: 0.7812 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.138, allocations: 0.7188 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.057e-05/1.139, allocations: 76.59 kB / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/1.139, allocations: 94.3 kB / 1.267 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/1.139, allocations: 2.094 kB / 1.267 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/1.139, allocations: 0.8438 kB / 1.267 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/1.139, allocations: 5.828 kB / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/1.139, allocations: 1.625 kB / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.037e-05/1.139, allocations: 120.1 kB / 1.267 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.139, allocations: 0.9688 kB / 1.267 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001881/1.139, allocations: 6.656 kB / 1.267 GB, free: 4.242 MB / 0.9981 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.000119/1.139, allocations: 103.7 kB / 1.267 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.889e-05/1.139, allocations: 16.25 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.139, allocations: 0.7812 kB / 1.267 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.401e-05/1.139, allocations: 12.56 kB / 1.267 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/1.139, allocations: 11.5 kB / 1.267 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/1.14, allocations: 183.5 kB / 1.267 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/1.14, allocations: 0.6957 MB / 1.268 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/1.14, allocations: 11.69 kB / 1.268 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/1.14, allocations: 0 / 1.268 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of Templates: time 0.002944/1.143, allocations: 0.8681 MB / 1.269 GB, free: 3.172 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.598409688100219]