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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001461/0.001461, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001631/0.001631, allocations: 198.3 kB / 16.14 MB, free: 6.711 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.2 MB / 0.6643 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 64.05 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5274/0.5288, allocations: 140.4 MB / 0.9491 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001693/0.5306, allocations: 0.8853 MB / 0.9499 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.839e-05/0.5307, allocations: 41.28 kB / 0.95 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.5307, allocations: 1.375 kB / 0.95 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.539e-05/0.5308, allocations: 3.938 kB / 0.95 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.65e-05/0.5308, allocations: 5.312 kB / 0.95 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.278e-05/0.5309, allocations: 18.73 kB / 0.95 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.091e-05/0.5309, allocations: 56.59 kB / 0.95 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.5311, allocations: 41.72 kB / 0.9501 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.43e-05/0.5311, allocations: 20.12 kB / 0.9501 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.5312, allocations: 37.27 kB / 0.9501 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.5312, allocations: 4.125 kB / 0.9501 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.659e-06/0.5312, allocations: 4.125 kB / 0.9501 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.529e-05/0.5312, allocations: 17.3 kB / 0.9502 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.858e-05/0.5312, allocations: 26.69 kB / 0.9502 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.007e-05/0.5313, allocations: 66.34 kB / 0.9502 GB, free: 8.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5313, allocations: 5.375 kB / 0.9503 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.32e-07/0.5313, allocations: 0 / 0.9503 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.566e-06/0.5313, allocations: 0 / 0.9503 GB, free: 8.285 MB / 0.7169 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.0002906/0.5316, allocations: 386.4 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.5317, allocations: 9.625 kB / 0.9506 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.454e-05/0.5317, allocations: 41.48 kB / 0.9507 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.5317, allocations: 12.97 kB / 0.9507 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.5319, allocations: 195.1 kB / 0.9509 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.5319, allocations: 7.125 kB / 0.9509 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.5319, allocations: 5.875 kB / 0.9509 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.532, allocations: 92.69 kB / 0.951 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.532, allocations: 3.938 kB / 0.951 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.532, allocations: 5.359 kB / 0.951 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.5321, allocations: 2.75 kB / 0.951 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.262e-05/0.5321, allocations: 43.11 kB / 0.951 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.5325, allocations: 433.2 kB / 0.9514 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.621e-05/0.5325, allocations: 41.16 kB / 0.9515 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/0.5326, allocations: 22.72 kB / 0.9515 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.5326, allocations: 0.9375 kB / 0.9515 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.5326, allocations: 35.67 kB / 0.9515 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5326, allocations: 1.062 kB / 0.9515 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001335/0.5327, allocations: 53.86 kB / 0.9516 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.5328, allocations: 82.39 kB / 0.9517 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.5329, allocations: 164.9 kB / 0.9518 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.079e-06/0.5329, allocations: 30.64 kB / 0.9518 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.5329, allocations: 108.6 kB / 0.952 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-06/0.5329, allocations: 5.25 kB / 0.952 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.533, allocations: 16.56 kB / 0.952 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.751e-05/0.533, allocations: 321.6 kB / 0.9523 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.533, allocations: 2.875 kB / 0.9523 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.625e-05/0.533, allocations: 22.94 kB / 0.9523 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.5331, allocations: 26.52 kB / 0.9523 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5331, allocations: 4 kB / 0.9523 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.625e-05/0.5332, allocations: 58.67 kB / 0.9524 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.5332, allocations: 9.969 kB / 0.9524 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.5332, allocations: 0 / 0.9524 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.5332, allocations: 5.406 kB / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.279e-05/0.5333, allocations: 9.578 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.5333, allocations: 1.344 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.5333, allocations: 1.25 kB / 0.9524 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.5333, allocations: 1.219 kB / 0.9524 GB, free: 6.066 MB / 0.7169 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 4.346e-05/0.5334, allocations: 117.7 kB / 0.9525 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.5334, allocations: 11.69 kB / 0.9525 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.893e-05/0.5334, allocations: 19.45 kB / 0.9526 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.5334, allocations: 0 / 0.9526 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5334, allocations: 5.312 kB / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5334, allocations: 1.188 kB / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.5337, allocations: 477.7 kB / 0.953 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5337, allocations: 1.406 kB / 0.953 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.5337, allocations: 6.656 kB / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.5337, allocations: 0 / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.5337, allocations: 1.281 kB / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5337, allocations: 1.312 kB / 0.953 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5337, allocations: 4 kB / 0.953 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.344e-05/0.5338, allocations: 78.58 kB / 0.9531 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.5338, allocations: 87.89 kB / 0.9532 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.5338, allocations: 5.562 kB / 0.9532 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.998e-05/0.5339, allocations: 3.984 kB / 0.9532 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-06/0.5339, allocations: 9.438 kB / 0.9532 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.5339, allocations: 1.562 kB / 0.9532 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.836e-05/0.534, allocations: 119.2 kB / 0.9533 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.534, allocations: 0 / 0.9533 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001788/0.5341, allocations: 6.469 kB / 0.9533 GB, free: 5.105 MB / 0.7169 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.0001894/0.5343, allocations: 0.617 MB / 0.9539 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.252e-05/0.5344, allocations: 19.56 kB / 0.954 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5344, allocations: 0 / 0.954 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.147e-06/0.5344, allocations: 3.562 kB / 0.954 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.5346, allocations: 7.781 kB / 0.954 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007825/0.5354, allocations: 1.355 MB / 0.9553 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.832e-05/0.5355, allocations: 0.6947 MB / 0.956 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.5355, allocations: 8.766 kB / 0.956 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.5355, allocations: 27.22 kB / 0.956 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.5355, allocations: 0 / 0.956 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.5589, allocations: 1.421 MB / 0.9574 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.5591, allocations: 207.2 kB / 0.9576 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.194, allocations: 0 / 0.9576 GB, free: 1.492 MB / 0.7169 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