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.001255/0.001255, allocations: 108 kB / 15.6 MB, free: 132 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.00128/0.001279, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.296/1.296, allocations: 222.9 MB / 240.2 MB, free: 4.41 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 2.249/2.249, allocations: 390.2 MB / 0.6647 GB, free: 396 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.00136, allocations: 67.89 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6274/0.6288, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002309/0.6311, allocations: 0.8139 MB / 0.9505 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001017/0.6313, allocations: 48.59 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.999e-05/0.6313, allocations: 1.312 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.446e-05/0.6314, allocations: 11.81 kB / 0.9506 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.112e-05/0.6314, allocations: 9.125 kB / 0.9506 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.365e-05/0.6315, allocations: 19.12 kB / 0.9506 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.078e-05/0.6316, allocations: 57.17 kB / 0.9507 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.6317, allocations: 48.59 kB / 0.9507 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.322e-05/0.6318, allocations: 27.81 kB / 0.9507 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.445e-05/0.6318, allocations: 33.19 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.6319, allocations: 6.094 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.6319, allocations: 5.781 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.829e-05/0.6319, allocations: 14.88 kB / 0.9508 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.206e-05/0.6319, allocations: 42.23 kB / 0.9508 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.316e-05/0.632, allocations: 71.42 kB / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.632, allocations: 0 / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.632, allocations: 0 / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.369e-06/0.6321, allocations: 0 / 0.9509 GB, free: 8.27 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.000322/0.6324, allocations: 383.5 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.6324, allocations: 9.344 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.885e-05/0.6325, allocations: 37.44 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.459e-05/0.6325, allocations: 12.38 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.6326, allocations: 199.9 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.6327, allocations: 2.938 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.6327, allocations: 9.062 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.6328, allocations: 90.77 kB / 0.9516 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.6328, allocations: 3.938 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.6329, allocations: 5.25 kB / 0.9516 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6329, allocations: 2.656 kB / 0.9516 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.064e-05/0.633, allocations: 34.58 kB / 0.9517 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.6334, allocations: 445.6 kB / 0.9521 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.077e-05/0.6334, allocations: 37.16 kB / 0.9521 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.6335, allocations: 19.22 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.382e-06/0.6335, allocations: 1.375 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.332e-05/0.6335, allocations: 39.94 kB / 0.9522 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.6335, allocations: 0 / 0.9522 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001455/0.6336, allocations: 58.09 kB / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.6337, allocations: 78.77 kB / 0.9523 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.6338, allocations: 163 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.254e-06/0.6338, allocations: 30.73 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.168e-05/0.6338, allocations: 111.9 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-06/0.6339, allocations: 4.906 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.6339, allocations: 17.94 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.6339, allocations: 324.8 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.634, allocations: 2.969 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.389e-05/0.634, allocations: 23.06 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.785e-05/0.6341, allocations: 26.91 kB / 0.953 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6341, allocations: 0 / 0.953 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001036/0.6342, allocations: 59.19 kB / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6342, allocations: 9.5 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.6342, allocations: 3.984 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.6342, allocations: 1.656 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/0.6343, allocations: 12.53 kB / 0.9531 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.6343, allocations: 9.078 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.6344, allocations: 2.531 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.6344, allocations: 1.25 kB / 0.9531 GB, free: 6.043 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 5.021e-05/0.6344, allocations: 113.3 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.808e-05/0.6345, allocations: 12.59 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.6345, allocations: 10.31 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6345, allocations: 1.281 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6345, allocations: 0 / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6346, allocations: 5.219 kB / 0.9532 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.6349, allocations: 477.5 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6349, allocations: 0.875 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.481e-05/0.6349, allocations: 3.406 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6349, allocations: 1.031 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.635, allocations: 0 / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.635, allocations: 1.031 kB / 0.9537 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.635, allocations: 5.25 kB / 0.9537 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.132e-05/0.6351, allocations: 85.83 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.6351, allocations: 88.33 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.6351, allocations: 1.156 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.364e-05/0.6352, allocations: 1.156 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.6352, allocations: 1.188 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.6352, allocations: 9.078 kB / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.131e-05/0.6353, allocations: 123.9 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6353, allocations: 0 / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003281/0.6357, allocations: 6.969 kB / 0.954 GB, free: 5.094 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.000274/0.6359, allocations: 0.6194 MB / 0.9546 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.395e-05/0.636, allocations: 19.14 kB / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.636, allocations: 0 / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.6361, allocations: 7.969 kB / 0.9546 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.6362, allocations: 7.188 kB / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008776/0.6371, allocations: 1.319 MB / 0.9559 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.6372, allocations: 0.6987 MB / 0.9566 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.044e-05/0.6373, allocations: 9.375 kB / 0.9566 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.6373, allocations: 22.89 kB / 0.9566 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of SimCode: time 7.92e-07/0.6373, allocations: 0 / 0.9566 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02505/0.6624, allocations: 1.553 MB / 0.9581 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.891/7.554, allocations: 2.156 kB / 0.9581 GB, free: 1.633 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