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.008055/0.008055, allocations: 101.8 kB / 15.73 MB, free: 6.035 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.001772/0.001772, allocations: 196.1 kB / 16.68 MB, free: 5.957 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.268/2.268, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.91 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.84/0.8414, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001857/0.8433, allocations: 0.8331 MB / 1.088 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001113/0.8434, allocations: 41.47 kB / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.8435, allocations: 1.188 kB / 1.088 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.8436, allocations: 14.36 kB / 1.088 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.486e-05/0.8437, allocations: 13.27 kB / 1.088 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.351e-05/0.8437, allocations: 20.95 kB / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.744e-05/0.8438, allocations: 63.7 kB / 1.088 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.844, allocations: 37.91 kB / 1.088 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.557e-05/0.8441, allocations: 26 kB / 1.088 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.041e-05/0.8441, allocations: 30.69 kB / 1.089 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.8441, allocations: 6 kB / 1.089 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.8442, allocations: 10.31 kB / 1.089 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.8442, allocations: 16.89 kB / 1.089 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/0.8442, allocations: 36.64 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.8444, allocations: 71.91 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.8444, allocations: 0 / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8444, allocations: 4 kB / 1.089 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.8444, allocations: 0 / 1.089 GB, free: 4.516 MB / 0.8575 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.0003536/0.8447, allocations: 376.7 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.8448, allocations: 10.17 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.807e-05/0.8448, allocations: 43.41 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.8449, allocations: 18.25 kB / 1.089 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.845, allocations: 196.4 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.845, allocations: 2.938 kB / 1.089 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.8451, allocations: 13.56 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.8452, allocations: 96.92 kB / 1.089 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.8452, allocations: 5.125 kB / 1.089 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.8452, allocations: 0.9062 kB / 1.089 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.8453, allocations: 2.422 kB / 1.089 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.322e-05/0.8453, allocations: 39.11 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.8458, allocations: 438.9 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.675e-05/0.8459, allocations: 41.17 kB / 1.09 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/0.8459, allocations: 17.02 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.8459, allocations: 0.6562 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.8459, allocations: 43.75 kB / 1.09 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.8459, allocations: 5.109 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001511/0.8461, allocations: 56.09 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.8461, allocations: 78.95 kB / 1.09 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.8463, allocations: 159.4 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.8463, allocations: 26.45 kB / 1.09 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.8463, allocations: 103.5 kB / 1.09 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.643e-06/0.8463, allocations: 11.17 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.8464, allocations: 17.11 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.949e-05/0.8464, allocations: 323.5 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.757e-05/0.8464, allocations: 4.875 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.828e-05/0.8465, allocations: 19.34 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.8465, allocations: 27.03 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.8465, allocations: 5.125 kB / 1.091 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.379e-05/0.8466, allocations: 57.06 kB / 1.091 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.8466, allocations: 10.03 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8466, allocations: 0 / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.8466, allocations: 1.656 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.727e-05/0.8467, allocations: 9.641 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.8467, allocations: 1.609 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.8467, allocations: 5.719 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.8468, allocations: 2.094 kB / 1.091 GB, free: 2.391 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 5.289e-05/0.8468, allocations: 117.7 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.8469, allocations: 13.06 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.8469, allocations: 12.06 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8469, allocations: 1.094 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8469, allocations: 1.062 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.8469, allocations: 0.6562 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.8472, allocations: 471.2 kB / 1.091 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.8472, allocations: 1 kB / 1.091 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.8472, allocations: 7.859 kB / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8472, allocations: 0 / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.8473, allocations: 1.062 kB / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.8473, allocations: 1.484 kB / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.8473, allocations: 1.125 kB / 1.091 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.74e-05/0.8473, allocations: 92.47 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.8474, allocations: 90.67 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.8474, allocations: 1.75 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.8474, allocations: 1.062 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.8474, allocations: 1.734 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.8474, allocations: 1.094 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.373e-05/0.8475, allocations: 125.4 kB / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8475, allocations: 0 / 1.092 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001843/0.8477, allocations: 7.344 kB / 1.092 GB, free: 1.473 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.0003767/0.8481, allocations: 0.6194 MB / 1.092 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.508e-05/0.8482, allocations: 15.53 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.8482, allocations: 5.219 kB / 1.092 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.274e-05/0.8482, allocations: 8.938 kB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.8484, allocations: 14.03 kB / 1.092 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.8496, allocations: 1.321 MB / 1.094 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.8499, allocations: 0.6964 MB / 1.094 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.792e-05/0.85, allocations: 7.828 kB / 1.094 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/0.85, allocations: 20.86 kB / 1.094 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.85, allocations: 0 / 1.094 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01875/0.8688, allocations: 1.59 MB / 1.096 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.635/8.504, allocations: 15.89 kB / 1.096 GB, free: 14.5 MB / 0.8731 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