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.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.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.001406/0.001406, 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.001485/0.001485, allocations: 198.1 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.271/2.271, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6143/0.6158, allocations: 140.4 MB / 0.949 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001822/0.6176, allocations: 0.8891 MB / 0.9499 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.392e-05/0.6177, allocations: 41.25 kB / 0.95 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.6178, allocations: 1.344 kB / 0.95 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.6178, allocations: 5.281 kB / 0.95 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.119e-05/0.6179, allocations: 0 / 0.95 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.746e-05/0.6179, allocations: 20.52 kB / 0.95 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.211e-05/0.618, allocations: 62.97 kB / 0.95 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.6181, allocations: 42.42 kB / 0.9501 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.6182, allocations: 18.94 kB / 0.9501 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.324e-05/0.6182, allocations: 29.34 kB / 0.9501 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.6182, allocations: 4 kB / 0.9501 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.6183, allocations: 8 kB / 0.9501 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.6183, allocations: 13.31 kB / 0.9502 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.6183, allocations: 39.92 kB / 0.9502 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.163e-05/0.6184, allocations: 69.02 kB / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6184, allocations: 1.375 kB / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6184, allocations: 0 / 0.9503 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.6184, allocations: 0 / 0.9503 GB, free: 8.215 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.0002835/0.6187, allocations: 382.5 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.6187, allocations: 9.625 kB / 0.9506 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.69e-05/0.6188, allocations: 45.48 kB / 0.9507 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.24e-05/0.6188, allocations: 8.969 kB / 0.9507 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.6189, allocations: 191.2 kB / 0.9509 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.6189, allocations: 7.125 kB / 0.9509 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.6189, allocations: 5.875 kB / 0.9509 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.6191, allocations: 88.7 kB / 0.951 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.6191, allocations: 3.938 kB / 0.951 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.6191, allocations: 5.375 kB / 0.951 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.6191, allocations: 14.67 kB / 0.951 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.246e-05/0.6192, allocations: 35.17 kB / 0.951 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003702/0.6195, allocations: 436.5 kB / 0.9514 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.72e-05/0.6196, allocations: 41.41 kB / 0.9515 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.904e-05/0.6196, allocations: 20.59 kB / 0.9515 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.6196, allocations: 0 / 0.9515 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.6197, allocations: 35.92 kB / 0.9515 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.6197, allocations: 0 / 0.9515 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001422/0.6198, allocations: 55.45 kB / 0.9516 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.135e-05/0.6198, allocations: 82.52 kB / 0.9517 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.6199, allocations: 162 kB / 0.9518 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-06/0.62, allocations: 27.08 kB / 0.9518 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.62, allocations: 112 kB / 0.9519 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.173e-06/0.62, allocations: 5.281 kB / 0.952 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.62, allocations: 12.47 kB / 0.952 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.6201, allocations: 321.6 kB / 0.9523 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.704e-05/0.6201, allocations: 14.69 kB / 0.9523 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.639e-05/0.6201, allocations: 19.28 kB / 0.9523 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.295e-05/0.6202, allocations: 26.89 kB / 0.9523 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.6202, allocations: 0 / 0.9523 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.777e-05/0.6202, allocations: 55.11 kB / 0.9524 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.6203, allocations: 11.75 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.6203, allocations: 4.062 kB / 0.9524 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.6203, allocations: 1.125 kB / 0.9524 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.6203, allocations: 13.14 kB / 0.9524 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.6204, allocations: 5.344 kB / 0.9524 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.6204, allocations: 1.062 kB / 0.9524 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.6204, allocations: 2.375 kB / 0.9524 GB, free: 6 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.809e-05/0.6205, allocations: 112.9 kB / 0.9525 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.6205, allocations: 12.03 kB / 0.9525 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.6205, allocations: 6.406 kB / 0.9525 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.6205, allocations: 9.578 kB / 0.9526 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6205, allocations: 96 / 0.9526 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.6205, allocations: 5.141 kB / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002368/0.6208, allocations: 477.5 kB / 0.953 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6208, allocations: 5.219 kB / 0.953 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.762e-05/0.6208, allocations: 6.438 kB / 0.953 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6208, allocations: 1.469 kB / 0.953 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.6208, allocations: 5.281 kB / 0.953 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.6208, allocations: 0 / 0.953 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6208, allocations: 1.219 kB / 0.953 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.365e-05/0.6209, allocations: 81.92 kB / 0.9531 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.6209, allocations: 88.55 kB / 0.9532 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.6209, allocations: 1.281 kB / 0.9532 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.963e-05/0.621, allocations: 0 / 0.9532 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.621, allocations: 9.953 kB / 0.9532 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.621, allocations: 1 kB / 0.9532 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.142e-05/0.6211, allocations: 121.4 kB / 0.9533 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6211, allocations: 3.938 kB / 0.9533 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001809/0.6213, allocations: 10.75 kB / 0.9533 GB, free: 5.039 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.0001946/0.6215, allocations: 0.6137 MB / 0.9539 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.723e-05/0.6215, allocations: 18.81 kB / 0.954 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6215, allocations: 0 / 0.954 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.003e-05/0.6215, allocations: 8.094 kB / 0.954 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.6217, allocations: 4.094 kB / 0.954 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000795/0.6225, allocations: 1.354 MB / 0.9553 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.824e-05/0.6226, allocations: 0.6956 MB / 0.956 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.6226, allocations: 4.031 kB / 0.956 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.6227, allocations: 27.17 kB / 0.956 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6227, allocations: 0 / 0.956 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01036/0.633, allocations: 1.419 MB / 0.9574 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/0.6332, allocations: 215.1 kB / 0.9576 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.206, allocations: 5.094 kB / 0.9576 GB, free: 1.43 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 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.mat","/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