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.001545/0.001545, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001792/0.001792, allocations: 195.8 kB / 16.26 MB, free: 6.629 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.463/1.463, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.5/2.5, allocations: 390.2 MB / 0.6644 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002437/0.002437, allocations: 71.83 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7304/0.7329, allocations: 140.4 MB / 0.9492 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002204/0.7351, allocations: 0.8838 MB / 0.9501 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001138/0.7352, allocations: 45.22 kB / 0.9501 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.7353, allocations: 1.375 kB / 0.9501 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.7353, allocations: 3.938 kB / 0.9501 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.085e-05/0.7354, allocations: 5.312 kB / 0.9501 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.65e-05/0.7355, allocations: 14.73 kB / 0.9502 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.7356, allocations: 60.66 kB / 0.9502 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.7358, allocations: 48.39 kB / 0.9503 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.458e-05/0.7358, allocations: 28.11 kB / 0.9503 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.956e-05/0.7359, allocations: 29.3 kB / 0.9503 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.7359, allocations: 5.5 kB / 0.9503 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.7359, allocations: 5.5 kB / 0.9503 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.736, allocations: 18.67 kB / 0.9503 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.736, allocations: 38.62 kB / 0.9504 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.683e-05/0.7361, allocations: 75.69 kB / 0.9505 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7361, allocations: 0 / 0.9505 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7361, allocations: 0 / 0.9505 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.7361, allocations: 0 / 0.9505 GB, free: 8.129 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.0003737/0.7365, allocations: 378.5 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.7366, allocations: 9.625 kB / 0.9508 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.206e-05/0.7366, allocations: 45.48 kB / 0.9509 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.7366, allocations: 10.34 kB / 0.9509 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.7368, allocations: 193.8 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.7368, allocations: 3.125 kB / 0.9511 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.7369, allocations: 9.875 kB / 0.9511 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.737, allocations: 90.56 kB / 0.9512 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.737, allocations: 7.875 kB / 0.9512 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.737, allocations: 5.094 kB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.7371, allocations: 1.719 kB / 0.9512 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.257e-05/0.7371, allocations: 35.52 kB / 0.9512 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.7375, allocations: 442.2 kB / 0.9516 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.096e-05/0.7376, allocations: 40.66 kB / 0.9517 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/0.7376, allocations: 19.28 kB / 0.9517 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.7376, allocations: 1.438 kB / 0.9517 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.616e-05/0.7377, allocations: 43.92 kB / 0.9517 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7377, allocations: 0 / 0.9517 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001511/0.7378, allocations: 49.92 kB / 0.9518 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.7379, allocations: 82.7 kB / 0.9519 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.738, allocations: 167.2 kB / 0.952 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.382e-06/0.738, allocations: 25.7 kB / 0.952 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.916e-05/0.738, allocations: 113 kB / 0.9522 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.544e-06/0.738, allocations: 5.188 kB / 0.9522 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.7381, allocations: 17.56 kB / 0.9522 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.998e-05/0.7381, allocations: 320 kB / 0.9525 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/0.7381, allocations: 3.812 kB / 0.9525 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.793e-05/0.7382, allocations: 22.8 kB / 0.9525 GB, free: 6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.381e-05/0.7382, allocations: 26.84 kB / 0.9525 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7382, allocations: 0 / 0.9525 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.46e-05/0.7383, allocations: 58.48 kB / 0.9526 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.7383, allocations: 10.06 kB / 0.9526 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.7383, allocations: 0 / 0.9526 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.7383, allocations: 5.391 kB / 0.9526 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.923e-05/0.7384, allocations: 5.375 kB / 0.9526 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.7384, allocations: 9.562 kB / 0.9526 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.637e-05/0.7384, allocations: 5.406 kB / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.7384, allocations: 1.531 kB / 0.9526 GB, free: 5.91 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.608e-05/0.7385, allocations: 113.7 kB / 0.9527 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.004e-05/0.7385, allocations: 12.03 kB / 0.9527 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.7386, allocations: 14.58 kB / 0.9528 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.7386, allocations: 0 / 0.9528 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.7386, allocations: 1.469 kB / 0.9528 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.7386, allocations: 0 / 0.9528 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.7389, allocations: 474.4 kB / 0.9532 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.7389, allocations: 0.8438 kB / 0.9532 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.7389, allocations: 6.672 kB / 0.9532 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.7389, allocations: 1.531 kB / 0.9532 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.7389, allocations: 1.844 kB / 0.9532 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.7389, allocations: 0 / 0.9532 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7389, allocations: 0 / 0.9532 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.031e-05/0.739, allocations: 91.39 kB / 0.9533 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.402e-05/0.7391, allocations: 86.8 kB / 0.9534 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.7391, allocations: 5.703 kB / 0.9534 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.7391, allocations: 1.281 kB / 0.9534 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.7391, allocations: 5.625 kB / 0.9534 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-06/0.7391, allocations: 4 kB / 0.9534 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.232e-05/0.7392, allocations: 128.2 kB / 0.9535 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7392, allocations: 1.312 kB / 0.9535 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001871/0.7394, allocations: 6.406 kB / 0.9535 GB, free: 4.953 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.0002812/0.7397, allocations: 0.618 MB / 0.9541 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.384e-05/0.7398, allocations: 18.72 kB / 0.9542 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.7398, allocations: 0 / 0.9542 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/0.7398, allocations: 4.375 kB / 0.9542 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.74, allocations: 9.375 kB / 0.9542 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.7411, allocations: 1.348 MB / 0.9555 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.7412, allocations: 0.695 MB / 0.9562 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.373e-05/0.7413, allocations: 12.27 kB / 0.9562 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.7413, allocations: 23.88 kB / 0.9562 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7413, allocations: 0 / 0.9562 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01197/0.7533, allocations: 1.46 MB / 0.9576 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001475/0.7535, allocations: 213 kB / 0.9578 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.387, allocations: 0 / 0.9578 GB, free: 1.344 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