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.001663/0.001663, 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.001943/0.001943, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.334/2.334, allocations: 390.3 MB / 0.6647 GB, free: 424 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 59.91 kB / 0.8126 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5472/0.5486, 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.001858/0.5505, allocations: 0.8158 MB / 0.9505 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.146e-05/0.5506, allocations: 45.28 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.5507, allocations: 1.375 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.5507, allocations: 11.86 kB / 0.9506 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.198e-05/0.5508, allocations: 13.25 kB / 0.9506 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.015e-05/0.5508, allocations: 14.73 kB / 0.9506 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.174e-05/0.5509, allocations: 68.53 kB / 0.9507 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.5511, allocations: 44.45 kB / 0.9507 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.5511, allocations: 24.17 kB / 0.9507 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.198e-05/0.5512, allocations: 29.3 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.5512, allocations: 5.5 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.5512, allocations: 5.875 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.619e-05/0.5512, allocations: 14.64 kB / 0.9508 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.5513, allocations: 30.81 kB / 0.9508 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.908e-05/0.5513, allocations: 83.38 kB / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5513, allocations: 0 / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5514, allocations: 0 / 0.9509 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5514, allocations: 5.156 kB / 0.9509 GB, free: 8.266 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.0002986/0.5517, allocations: 382.3 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.5517, allocations: 8.812 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.759e-05/0.5517, allocations: 41.33 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.5518, allocations: 10.62 kB / 0.9513 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.5519, allocations: 185.3 kB / 0.9515 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.5519, allocations: 11.41 kB / 0.9515 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.388e-05/0.552, allocations: 9.781 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.5521, allocations: 95.16 kB / 0.9516 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5521, allocations: 5.125 kB / 0.9516 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.5521, allocations: 5.094 kB / 0.9516 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.5521, allocations: 1.312 kB / 0.9516 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.761e-05/0.5522, allocations: 35.58 kB / 0.9517 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.5526, allocations: 441.1 kB / 0.9521 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.088e-05/0.5527, allocations: 33.75 kB / 0.9521 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.5527, allocations: 31.83 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.5527, allocations: 0 / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.5527, allocations: 31.97 kB / 0.9522 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.5527, allocations: 0 / 0.9522 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001514/0.5529, allocations: 55.3 kB / 0.9522 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.5529, allocations: 82.64 kB / 0.9523 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.553, allocations: 164 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.881e-06/0.5531, allocations: 31.02 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.5531, allocations: 111.7 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-06/0.5531, allocations: 5.219 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.5531, allocations: 17.48 kB / 0.9526 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.721e-05/0.5532, allocations: 321.4 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.5532, allocations: 6.531 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.5532, allocations: 18.67 kB / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/0.5533, allocations: 34.22 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.5533, allocations: 1.719 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.868e-05/0.5533, allocations: 58.41 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5534, allocations: 9.219 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.5534, allocations: 0 / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.5534, allocations: 1.312 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.345e-05/0.5534, allocations: 4.906 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.5534, allocations: 5.469 kB / 0.9531 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.906e-05/0.5535, allocations: 6.312 kB / 0.9531 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.5535, allocations: 1.625 kB / 0.9531 GB, free: 6.051 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.291e-05/0.5535, allocations: 112.9 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.5536, allocations: 16.03 kB / 0.9532 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.833e-05/0.5536, allocations: 10.3 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.5536, allocations: 1.281 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5536, allocations: 1.594 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5536, allocations: 0 / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002472/0.5539, allocations: 482.2 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.5539, allocations: 0 / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.773e-05/0.5539, allocations: 3.312 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5539, allocations: 1.062 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.5539, allocations: 1.031 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5539, allocations: 0 / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5539, allocations: 0.875 kB / 0.9537 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.328e-05/0.554, allocations: 90.72 kB / 0.9538 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.554, allocations: 96.91 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.5541, allocations: 0 / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.5541, allocations: 5.312 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.5541, allocations: 1.625 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.5541, allocations: 0 / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.024e-05/0.5542, allocations: 124.7 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5542, allocations: 1.375 kB / 0.954 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001897/0.5544, allocations: 11.22 kB / 0.954 GB, free: 5.09 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.0002056/0.5546, allocations: 0.6151 MB / 0.9546 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.1e-05/0.5547, allocations: 13.94 kB / 0.9546 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5547, allocations: 1.656 kB / 0.9546 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-05/0.5547, allocations: 11.75 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.0001468/0.5548, allocations: 6.781 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.0007954/0.5556, allocations: 1.322 MB / 0.9559 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.001e-05/0.5557, allocations: 0.6949 MB / 0.9566 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.01e-05/0.5558, allocations: 12.11 kB / 0.9566 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.56e-05/0.5558, allocations: 23.97 kB / 0.9566 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5558, allocations: 0 / 0.9566 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.5717, allocations: 1.54 MB / 0.9581 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.942/7.514, allocations: 4.625 kB / 0.9581 GB, free: 1.641 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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