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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.001939, allocations: 195.5 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7451 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 71.64 kB / 0.912 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4045, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002426/0.407, allocations: 0.8332 MB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000122/0.4071, allocations: 39.78 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.197e-05/0.4072, allocations: 0 / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.319e-05/0.4073, allocations: 11.86 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.447e-05/0.4074, allocations: 15.88 kB / 1.069 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.974e-05/0.4074, allocations: 15.98 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.4075, allocations: 63.84 kB / 1.069 GB, free: 9.465 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000181/0.4077, allocations: 43.95 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.4078, allocations: 31.8 kB / 1.069 GB, free: 9.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.948e-05/0.4079, allocations: 27.86 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.4079, allocations: 8 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/0.4079, allocations: 4 kB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.281e-05/0.4079, allocations: 15.92 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.173e-05/0.408, allocations: 39.73 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.4081, allocations: 68.05 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4081, allocations: 0 / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4082, allocations: 0 / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4082, allocations: 0 / 1.069 GB, free: 9.23 MB / 0.8262 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.0005724/0.4087, allocations: 383.1 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.4088, allocations: 15.97 kB / 1.07 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.4088, allocations: 8.844 kB / 1.07 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.4091, allocations: 200.1 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.4091, allocations: 8.375 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.4092, allocations: 4.375 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.4093, allocations: 89.67 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4094, allocations: 4.172 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.4094, allocations: 15.88 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4094, allocations: 4 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.182e-05/0.4095, allocations: 31.98 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006354/0.4101, allocations: 436.5 kB / 1.071 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.634e-05/0.4102, allocations: 41.28 kB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.4102, allocations: 21.84 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.4103, allocations: 0 / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.4103, allocations: 38.48 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.4103, allocations: 0 / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001854/0.4105, allocations: 57.77 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.4105, allocations: 81.05 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.4107, allocations: 164.9 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.4107, allocations: 25.7 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.4108, allocations: 104 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.067e-05/0.4108, allocations: 7.906 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.4109, allocations: 13.72 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.411, allocations: 322.8 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.411, allocations: 12.03 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.4111, allocations: 17.7 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.4111, allocations: 25.72 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4111, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.953e-05/0.4112, allocations: 53.55 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4112, allocations: 8 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4112, allocations: 8 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.4113, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.374e-05/0.4113, allocations: 15.98 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4113, allocations: 0 / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.194e-05/0.4114, allocations: 7.844 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.4114, allocations: 8 kB / 1.072 GB, free: 6.781 MB / 0.8262 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.265e-05/0.4115, allocations: 114.3 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.4115, allocations: 15.84 kB / 1.072 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.4116, allocations: 11.8 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4116, allocations: 4 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4116, allocations: 7.938 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4116, allocations: 0 / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.4121, allocations: 470.8 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.4121, allocations: 0 / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.544e-05/0.4121, allocations: 4 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4121, allocations: 0 / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.4122, allocations: 4.062 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4122, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4122, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.4123, allocations: 85.77 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.765e-05/0.4124, allocations: 85.02 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.4124, allocations: 7.984 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.594e-05/0.4125, allocations: 32 / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.4125, allocations: 4 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.4125, allocations: 0 / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001199/0.4127, allocations: 119.2 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4127, allocations: 0 / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001809/0.4128, allocations: 11.91 kB / 1.072 GB, free: 5.738 MB / 0.8262 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.0001274/0.413, allocations: 99.25 kB / 1.073 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.819e-05/0.4131, allocations: 20 kB / 1.073 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4131, allocations: 4.062 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.4131, allocations: 4 kB / 1.073 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.4133, allocations: 15.92 kB / 1.073 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003171/0.4136, allocations: 158.9 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.414, allocations: 0.6886 MB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.232e-05/0.4141, allocations: 8.422 kB / 1.073 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.4141, allocations: 11.44 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.4141, allocations: 0 / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of Templates: time 0.002822/0.417, allocations: 466.3 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches