Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_10_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.001032/0.001032, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01158/0.01158, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.312/1.312, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.429/2.429, allocations: 437.8 MB / 0.7121 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 8 kB / 0.8729 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.551/0.5513, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.0008685/0.5522, allocations: 0.551 MB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001012/0.5523, allocations: 39.78 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.5524, allocations: 4 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.901e-05/0.5524, allocations: 3.938 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.509e-05/0.5525, allocations: 3.938 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 3.858e-05/0.5525, allocations: 15.98 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.263e-05/0.5526, allocations: 63.84 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.5527, allocations: 39.89 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.663e-05/0.5528, allocations: 19.88 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.5528, allocations: 15.86 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.5528, allocations: 4 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.604e-06/0.5529, allocations: 4 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.5529, allocations: 7.938 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.5529, allocations: 57.44 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.672e-05/0.553, allocations: 66 kB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.553, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.553, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.553, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.7794 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.0003269/0.5534, allocations: 371.2 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.5534, allocations: 16.02 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/0.5534, allocations: 42.69 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.5535, allocations: 8.844 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.5537, allocations: 188.2 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.5537, allocations: 4.375 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.5537, allocations: 12.38 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.5538, allocations: 91.89 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5538, allocations: 3.938 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-06/0.5539, allocations: 4 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.5539, allocations: 7.938 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.763e-05/0.5539, allocations: 35.98 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.5544, allocations: 436.5 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.774e-05/0.5545, allocations: 45.14 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.5545, allocations: 13.94 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.5545, allocations: 7.938 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.5546, allocations: 34.56 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.854e-06/0.5546, allocations: 3.938 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001901/0.5548, allocations: 57.48 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.5548, allocations: 85.09 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.555, allocations: 157.1 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.555, allocations: 33.64 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.555, allocations: 104 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-06/0.555, allocations: 3.906 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.5551, allocations: 17.7 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.5552, allocations: 319.1 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.5552, allocations: 11.98 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.912e-05/0.5552, allocations: 17.72 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.534e-05/0.5552, allocations: 25.66 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5553, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.881e-05/0.5553, allocations: 61.59 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.5554, allocations: 12 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.5554, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.5554, allocations: 0 / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.5554, allocations: 11.94 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.5554, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.5555, allocations: 3.906 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.5555, allocations: 4 kB / 1.026 GB, free: 12.51 MB / 0.7794 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.277e-05/0.5556, allocations: 113.8 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.5556, allocations: 11.84 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.5556, allocations: 15.86 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5556, allocations: 4 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5556, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.5557, allocations: 0 / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.556, allocations: 466.8 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5561, allocations: 3.938 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.895e-05/0.5561, allocations: 4 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.5561, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.5561, allocations: 4.062 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5561, allocations: 0 / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.817e-05/0.5562, allocations: 7.984 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.638e-05/0.5563, allocations: 81.78 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.5563, allocations: 92.94 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.5563, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.893e-05/0.5564, allocations: 4.031 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-06/0.5564, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.5564, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001259/0.5565, allocations: 124.5 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5565, allocations: 0 / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001749/0.5567, allocations: 8 kB / 1.027 GB, free: 11.47 MB / 0.7794 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.0003275/0.557, allocations: 0.631 MB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.054e-05/0.5571, allocations: 15.94 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5571, allocations: 4 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/0.5571, allocations: 7.938 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.5573, allocations: 4 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.5583, allocations: 1.337 MB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.5585, allocations: 0.6965 MB / 1.03 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.182e-05/0.5586, allocations: 8.422 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.5586, allocations: 27.31 kB / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5586, allocations: 0 / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.583, allocations: 1.349 MB / 1.031 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/0.5833, allocations: 214.2 kB / 1.031 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.473/2.056, allocations: 0 / 1.031 GB, free: 7.102 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches