Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001035/0.001035, allocations: 97.95 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.006967/0.006967, allocations: 169.4 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.254/1.254, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.545/2.545, allocations: 462.7 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003102, allocations: 18.47 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2561, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.0009087/0.257, allocations: 0.5492 MB / 1.059 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.916e-05/0.2571, allocations: 39.78 kB / 1.059 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/0.2572, allocations: 0 / 1.059 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.873e-05/0.2572, allocations: 11.92 kB / 1.059 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.462e-05/0.2573, allocations: 3.938 kB / 1.059 GB, free: 4.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.585e-05/0.2574, allocations: 12 kB / 1.059 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.755e-05/0.2574, allocations: 55.84 kB / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.2576, allocations: 43.95 kB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.2576, allocations: 27.8 kB / 1.059 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.09e-05/0.2577, allocations: 15.86 kB / 1.06 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.2577, allocations: 0 / 1.06 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.276e-06/0.2577, allocations: 4 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.2577, allocations: 11.94 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.2578, allocations: 53.45 kB / 1.06 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.204e-05/0.2579, allocations: 71.95 kB / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2579, allocations: 0 / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2579, allocations: 0 / 1.06 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.2579, allocations: 0 / 1.06 GB, free: 4.031 MB / 0.8106 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.0003322/0.2582, allocations: 359.3 kB / 1.06 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.2583, allocations: 11.97 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.888e-05/0.2583, allocations: 50.73 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.2583, allocations: 8.844 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.2585, allocations: 188.2 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.2585, allocations: 4.375 kB / 1.06 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.2586, allocations: 8.375 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.2587, allocations: 101.4 kB / 1.06 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2587, allocations: 7.922 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.485e-06/0.2587, allocations: 0 / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2587, allocations: 4 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.532e-05/0.2588, allocations: 39.98 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004494/0.2593, allocations: 440.5 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.654e-05/0.2593, allocations: 41.22 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.2594, allocations: 17.77 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.2594, allocations: 4 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.2594, allocations: 42.58 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.2594, allocations: 3.938 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001461/0.2596, allocations: 53.7 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.2596, allocations: 81.14 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.2598, allocations: 167.6 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.2598, allocations: 25.7 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.2598, allocations: 107.9 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-06/0.2598, allocations: 0 / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.2599, allocations: 9.719 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.625e-05/0.26, allocations: 322.8 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.26, allocations: 8 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.26, allocations: 17.72 kB / 1.062 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.837e-05/0.26, allocations: 33.64 kB / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.26, allocations: 0 / 1.062 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.231e-05/0.2601, allocations: 49.61 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2601, allocations: 11.94 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2602, allocations: 0 / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.2602, allocations: 4.062 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.2602, allocations: 7.984 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2602, allocations: 7.938 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.516e-05/0.2603, allocations: 15.84 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2603, allocations: 4 kB / 1.062 GB, free: 1.547 MB / 0.8106 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.957e-05/0.2604, allocations: 113.8 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.2604, allocations: 11.84 kB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.876e-05/0.2604, allocations: 3.875 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2604, allocations: 3.984 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2604, allocations: 11.94 kB / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2604, allocations: 0 / 1.062 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003191/0.2608, allocations: 470.8 kB / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2608, allocations: 0 / 1.062 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.2608, allocations: 4 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.2608, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.429e-06/0.2608, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2608, allocations: 4.062 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2608, allocations: 0 / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.336e-05/0.2609, allocations: 85.77 kB / 1.062 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.241e-05/0.261, allocations: 88.92 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.261, allocations: 4 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.944e-05/0.261, allocations: 0 / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.261, allocations: 8.016 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.261, allocations: 0 / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.302e-05/0.2611, allocations: 122.1 kB / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2611, allocations: 0 / 1.063 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001795/0.2613, allocations: 15.94 kB / 1.063 GB, free: 0.5078 MB / 0.8106 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.00031/0.2616, allocations: 0.617 MB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.353e-05/0.2617, allocations: 12 kB / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2617, allocations: 0 / 1.063 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.295e-05/0.2617, allocations: 8 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.2619, allocations: 7.938 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009812/0.2628, allocations: 1.339 MB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.263, allocations: 0.6965 MB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.639e-05/0.2631, allocations: 4.438 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.2631, allocations: 27.42 kB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2631, allocations: 0 / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.2861, allocations: 1.37 MB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.2864, allocations: 210.3 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/1.841, allocations: 0.5 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches