Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.01126/0.01126, allocations: 102 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.001915/0.001915, allocations: 195.9 kB / 16.68 MB, free: 5.953 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.528/1.528, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.243/2.243, allocations: 390.3 MB / 0.6648 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002262/0.002262, allocations: 63.91 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8645/0.8668, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002029/0.8689, allocations: 0.8334 MB / 1.088 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001111/0.869, allocations: 39.56 kB / 1.088 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.8691, allocations: 2.312 kB / 1.088 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.993e-05/0.8691, allocations: 10.22 kB / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.8692, allocations: 5.547 kB / 1.088 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.651e-05/0.8693, allocations: 28.44 kB / 1.088 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.37e-05/0.8694, allocations: 58.91 kB / 1.088 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.8695, allocations: 38.8 kB / 1.088 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.205e-05/0.8695, allocations: 21.56 kB / 1.088 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.8696, allocations: 34.47 kB / 1.089 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.8696, allocations: 5.938 kB / 1.089 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.8696, allocations: 6.5 kB / 1.089 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.223e-05/0.8697, allocations: 24.55 kB / 1.089 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.8697, allocations: 33.5 kB / 1.089 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.8698, allocations: 78.2 kB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.8698, allocations: 1.031 kB / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8698, allocations: 0 / 1.089 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.8698, allocations: 1.312 kB / 1.089 GB, free: 4.492 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.0003191/0.8702, allocations: 380 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.8702, allocations: 8.75 kB / 1.089 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.676e-05/0.8702, allocations: 39.89 kB / 1.089 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.487e-05/0.8703, allocations: 12.72 kB / 1.089 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.8704, allocations: 196.8 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.8704, allocations: 7.719 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.8705, allocations: 5.375 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.8706, allocations: 95.41 kB / 1.089 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.8706, allocations: 7.938 kB / 1.089 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.8706, allocations: 5.109 kB / 1.089 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8706, allocations: 2.281 kB / 1.089 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.199e-05/0.8707, allocations: 36.31 kB / 1.089 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.8711, allocations: 433.7 kB / 1.09 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.537e-05/0.8712, allocations: 45.67 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.8713, allocations: 24.27 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.8713, allocations: 1.312 kB / 1.09 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.8713, allocations: 36.58 kB / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.8713, allocations: 0 / 1.09 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001853/0.8715, allocations: 56.16 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.8715, allocations: 82.77 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.8717, allocations: 159.6 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.443e-06/0.8717, allocations: 25.7 kB / 1.09 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.8717, allocations: 103.6 kB / 1.09 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.284e-06/0.8718, allocations: 10.28 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.8718, allocations: 13.91 kB / 1.09 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.204e-05/0.8719, allocations: 319.9 kB / 1.091 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.8719, allocations: 11.61 kB / 1.091 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.8719, allocations: 15.98 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.8719, allocations: 31.55 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.872, allocations: 1.062 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.257e-05/0.872, allocations: 52.95 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.872, allocations: 11.97 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.8721, allocations: 4.062 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.8721, allocations: 2.016 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.599e-05/0.8721, allocations: 9.969 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.8722, allocations: 0.7812 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.8722, allocations: 11.23 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.8722, allocations: 1.062 kB / 1.091 GB, free: 2.371 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 6.127e-05/0.8723, allocations: 113.8 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.8723, allocations: 17 kB / 1.091 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.8724, allocations: 11.91 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.8724, allocations: 5.062 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8724, allocations: 1.094 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.8724, allocations: 1.625 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.8727, allocations: 469.5 kB / 1.091 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.8727, allocations: 1.719 kB / 1.091 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.8727, allocations: 4.047 kB / 1.091 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8727, allocations: 0 / 1.091 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.8727, allocations: 5.188 kB / 1.091 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.8727, allocations: 5.641 kB / 1.091 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8727, allocations: 0 / 1.091 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.776e-05/0.8728, allocations: 81.17 kB / 1.092 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.227e-05/0.8728, allocations: 94.89 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.8729, allocations: 1.094 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.039e-05/0.8729, allocations: 4.828 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.8729, allocations: 2.156 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.8729, allocations: 1.984 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.302e-05/0.873, allocations: 121.4 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.873, allocations: 0 / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001885/0.8732, allocations: 7.25 kB / 1.092 GB, free: 1.453 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.0003214/0.8735, allocations: 0.619 MB / 1.092 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.345e-05/0.8736, allocations: 16.75 kB / 1.092 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8736, allocations: 0 / 1.092 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.8736, allocations: 8.312 kB / 1.092 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.8738, allocations: 13.97 kB / 1.092 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.8749, allocations: 1.329 MB / 1.094 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.8751, allocations: 0.6921 MB / 1.094 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.298e-05/0.8752, allocations: 7.422 kB / 1.094 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.8752, allocations: 28.81 kB / 1.094 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.8752, allocations: 0.75 kB / 1.094 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.8935, allocations: 1.579 MB / 1.096 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/8.001, allocations: 1.75 kB / 1.096 GB, free: 14.49 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_bar.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches