Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008894/0.008894, allocations: 100.3 kB / 15.73 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 198.3 kB / 16.68 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.397/2.397, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.079/4.079, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 64.16 kB / 0.9504 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3554, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.003346/0.3588, allocations: 0.8276 MB / 1.088 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.3591, allocations: 47.78 kB / 1.088 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.672e-05/0.3592, allocations: 4 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.248e-05/0.3593, allocations: 11.86 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.3595, allocations: 7.875 kB / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.681e-05/0.3596, allocations: 19.98 kB / 1.088 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.3598, allocations: 59.84 kB / 1.088 GB, free: 1.023 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.3601, allocations: 43.95 kB / 1.088 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3602, allocations: 27.81 kB / 1.088 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.509e-05/0.3603, allocations: 31.83 kB / 1.089 GB, free: 0.9219 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.608e-05/0.3604, allocations: 8 kB / 1.089 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.477e-05/0.3604, allocations: 4 kB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.3604, allocations: 15.94 kB / 1.089 GB, free: 0.8945 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.3605, allocations: 47.73 kB / 1.089 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.3607, allocations: 70.45 kB / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3607, allocations: 0 / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.705e-06/0.3608, allocations: 0 / 1.089 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.3608, allocations: 0 / 1.089 GB, free: 0.7812 MB / 0.8419 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.0006859/0.3615, allocations: 384.1 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.644e-05/0.3616, allocations: 12.03 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.035e-05/0.3616, allocations: 34.75 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.027e-05/0.3617, allocations: 16.73 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.362, allocations: 192.2 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.362, allocations: 4.375 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3621, allocations: 12.31 kB / 1.089 GB, free: 44 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.3624, allocations: 87.95 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.3624, allocations: 3.938 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3625, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.3625, allocations: 3.984 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.3626, allocations: 47.84 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008417/0.3635, allocations: 432.6 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.943e-05/0.3636, allocations: 41.19 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.814e-05/0.3637, allocations: 17.84 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.3637, allocations: 4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.3638, allocations: 34.56 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.254e-06/0.3638, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002878/0.3641, allocations: 57.47 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.298e-05/0.3641, allocations: 81.11 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.3644, allocations: 161.3 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.3644, allocations: 29.95 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.388e-05/0.3645, allocations: 100 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.3646, allocations: 11.83 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.3646, allocations: 17.72 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3648, allocations: 322.8 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.65e-05/0.3648, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.767e-05/0.3649, allocations: 25.66 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.484e-05/0.365, allocations: 29.7 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.365, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001533/0.3652, allocations: 57.55 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.3652, allocations: 13.5 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.3652, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3653, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.3654, allocations: 7.984 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.3654, allocations: 4 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.298e-05/0.3655, allocations: 11.91 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.3655, allocations: 4 kB / 1.091 GB, free: 14.29 MB / 0.8575 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 0.0001192/0.3656, allocations: 109.8 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.55e-05/0.3657, allocations: 11.84 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.3658, allocations: 11.88 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3658, allocations: 0 / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/0.3658, allocations: 11.98 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3658, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.3665, allocations: 470.8 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3665, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.3666, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.3666, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3666, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.3666, allocations: 3.938 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3666, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.3668, allocations: 85.89 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.3668, allocations: 85.02 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3669, allocations: 7.938 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.643e-05/0.3669, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.367, allocations: 7.984 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.367, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001352/0.3671, allocations: 121.1 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.815e-06/0.3671, allocations: 4.031 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003679/0.3675, allocations: 11.94 kB / 1.092 GB, free: 13.25 MB / 0.8575 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.0005058/0.368, allocations: 0.617 MB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.3682, allocations: 19.97 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3682, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.151e-05/0.3682, allocations: 8 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.3685, allocations: 9.797 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.3703, allocations: 1.332 MB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3706, allocations: 0.6929 MB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.528e-05/0.3707, allocations: 12.42 kB / 1.094 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.3708, allocations: 19.42 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.3708, allocations: 4 kB / 1.094 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03405/0.4048, allocations: 1.576 MB / 1.096 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.82, allocations: 13.56 kB / 1.096 GB, free: 8.891 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches