Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_11_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.004274/0.004274, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001228/0.001228, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.459/2.459, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001741/0.001741, allocations: 63.89 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6086/0.6104, allocations: 159.1 MB / 1.22 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001803/0.6122, allocations: 0.8234 MB / 1.221 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001161/0.6123, allocations: 43.78 kB / 1.221 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.6124, allocations: 4 kB / 1.221 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.851e-05/0.6124, allocations: 11.86 kB / 1.221 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.481e-05/0.6125, allocations: 7.875 kB / 1.221 GB, free: 1.168 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.127e-05/0.6126, allocations: 19.98 kB / 1.221 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.6127, allocations: 67.84 kB / 1.221 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.6128, allocations: 47.84 kB / 1.221 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.886e-05/0.6129, allocations: 35.73 kB / 1.221 GB, free: 1 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.998e-05/0.6129, allocations: 31.84 kB / 1.221 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.6129, allocations: 8 kB / 1.221 GB, free: 0.9609 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-06/0.613, allocations: 4 kB / 1.221 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.613, allocations: 15.94 kB / 1.221 GB, free: 0.9414 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.382e-05/0.613, allocations: 27.8 kB / 1.221 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.6131, allocations: 75.36 kB / 1.221 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.6132, allocations: 3.938 kB / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.895e-06/0.6132, allocations: 0 / 1.221 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.6132, allocations: 3.938 kB / 1.221 GB, free: 0.8359 MB / 0.9356 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.0004066/0.6136, allocations: 383.1 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.6136, allocations: 8.031 kB / 1.222 GB, free: 412 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.6137, allocations: 38.75 kB / 1.222 GB, free: 364 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.499e-05/0.6137, allocations: 12.84 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.6139, allocations: 200.1 kB / 1.222 GB, free: 112 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.6139, allocations: 8.375 kB / 1.222 GB, free: 104 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.6139, allocations: 8.375 kB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.6141, allocations: 91.8 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.6141, allocations: 7.938 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.6141, allocations: 4 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6141, allocations: 4 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.197e-05/0.6142, allocations: 39.92 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.6147, allocations: 432.7 kB / 1.223 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.591e-05/0.6148, allocations: 45.25 kB / 1.223 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/0.6148, allocations: 17.78 kB / 1.223 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.6148, allocations: 4 kB / 1.223 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.6149, allocations: 30.56 kB / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.6149, allocations: 0 / 1.223 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001482/0.615, allocations: 61.61 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.6151, allocations: 81.11 kB / 1.223 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.6152, allocations: 157.1 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.6152, allocations: 25.7 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.6153, allocations: 112.1 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.6153, allocations: 3.953 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-05/0.6154, allocations: 21.67 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6155, allocations: 319 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.6155, allocations: 8 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.303e-05/0.6155, allocations: 17.72 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.6156, allocations: 29.66 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.6156, allocations: 0 / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.933e-05/0.6157, allocations: 65.52 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.6157, allocations: 13.81 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.6157, allocations: 8 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.6157, allocations: 0 / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.6158, allocations: 4 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.6158, allocations: 0 / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.6158, allocations: 7.938 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-06/0.6158, allocations: 0 / 1.224 GB, free: 14.34 MB / 0.9512 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 7.561e-05/0.6159, allocations: 117.8 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.616, allocations: 15.98 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.616, allocations: 19.86 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.616, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.616, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.616, allocations: 0 / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003813/0.6164, allocations: 470.7 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6164, allocations: 4 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.6164, allocations: 3.984 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.6165, allocations: 4 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-06/0.6165, allocations: 4.062 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6165, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.6165, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.887e-05/0.6166, allocations: 81.83 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.787e-05/0.6166, allocations: 89.05 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.6166, allocations: 0 / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.062e-05/0.6167, allocations: 4.031 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.396e-06/0.6167, allocations: 4 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.6167, allocations: 0 / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.827e-05/0.6168, allocations: 123.2 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6168, allocations: 0 / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001771/0.617, allocations: 8 kB / 1.224 GB, free: 13.29 MB / 0.9512 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.0003736/0.6173, allocations: 0.6215 MB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 6.98e-05/0.6174, allocations: 15.98 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6174, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.21e-05/0.6174, allocations: 7.938 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001381/0.6176, allocations: 8 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.6187, allocations: 1.333 MB / 1.226 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.619, allocations: 0.6967 MB / 1.227 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.619, allocations: 12.36 kB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.6191, allocations: 27.44 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of SimCode: time 2.01e-07/0.6191, allocations: 0 / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.974/2.593, allocations: 1.568 MB / 1.229 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/15.22, allocations: 20.89 kB / 1.229 GB, free: 8.926 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches