Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.To_bar,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_10_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.004416/0.004416, allocations: 98.97 kB / 15.73 MB, free: 6.043 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.001206/0.001206, allocations: 199.1 kB / 16.68 MB, free: 5.965 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.46/2.46, allocations: 437.1 MB / 0.7106 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 68.03 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2642, allocations: 151.6 MB / 1.166 GB, free: 7.234 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001902/0.2661, allocations: 0.8217 MB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.2662, allocations: 51.78 kB / 1.167 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.2663, allocations: 4 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.48e-05/0.2663, allocations: 11.86 kB / 1.167 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.691e-05/0.2664, allocations: 3.938 kB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.132e-05/0.2664, allocations: 19.92 kB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.2665, allocations: 67.83 kB / 1.167 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2667, allocations: 43.97 kB / 1.167 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.861e-05/0.2667, allocations: 23.88 kB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.2668, allocations: 31.78 kB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.2668, allocations: 8 kB / 1.167 GB, free: 6.141 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.2668, allocations: 4 kB / 1.167 GB, free: 6.137 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.254e-05/0.2669, allocations: 19.88 kB / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.2669, allocations: 31.8 kB / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.267, allocations: 79.86 kB / 1.167 GB, free: 6.008 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.267, allocations: 0 / 1.167 GB, free: 6.008 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.513e-06/0.267, allocations: 0 / 1.167 GB, free: 6.008 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.267, allocations: 0 / 1.167 GB, free: 6.008 MB / 0.92 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.0004198/0.2675, allocations: 383.1 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.2675, allocations: 8.031 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.2675, allocations: 38.75 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.2676, allocations: 12.84 kB / 1.168 GB, free: 5.516 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.2678, allocations: 208.2 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2678, allocations: 4.375 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.2678, allocations: 12.31 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.268, allocations: 87.89 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.268, allocations: 3.938 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.268, allocations: 4 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.268, allocations: 4 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.2681, allocations: 39.92 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005072/0.2686, allocations: 444.7 kB / 1.169 GB, free: 4.621 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.399e-05/0.2687, allocations: 37.22 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.2687, allocations: 13.78 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.2687, allocations: 8 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.2688, allocations: 34.59 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2688, allocations: 0 / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001583/0.2689, allocations: 61.52 kB / 1.169 GB, free: 4.43 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.269, allocations: 77.11 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2691, allocations: 156.7 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.2692, allocations: 33.7 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.2692, allocations: 104.1 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/0.2693, allocations: 7.891 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.2693, allocations: 17.72 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2694, allocations: 318.8 kB / 1.169 GB, free: 3.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.2695, allocations: 4 kB / 1.169 GB, free: 3.676 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.2695, allocations: 17.72 kB / 1.169 GB, free: 3.652 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.33e-05/0.2695, allocations: 37.64 kB / 1.169 GB, free: 3.609 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2695, allocations: 0 / 1.169 GB, free: 3.609 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.182e-05/0.2696, allocations: 57.61 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2696, allocations: 7.938 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2697, allocations: 4 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.2697, allocations: 0 / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.2697, allocations: 11.92 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.2697, allocations: 64 / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.441e-05/0.2698, allocations: 8 kB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.2698, allocations: 0 / 1.17 GB, free: 3.516 MB / 0.92 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.768e-05/0.2699, allocations: 113.8 kB / 1.17 GB, free: 3.395 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.187e-05/0.2699, allocations: 11.89 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.614e-05/0.2699, allocations: 11.88 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2699, allocations: 3.938 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.27, allocations: 0 / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.27, allocations: 3.984 kB / 1.17 GB, free: 3.359 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.2704, allocations: 474.7 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.2704, allocations: 8 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.615e-05/0.2704, allocations: 0 / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2704, allocations: 4 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.2704, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2704, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2704, allocations: 0 / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.413e-05/0.2705, allocations: 93.81 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.2706, allocations: 85.06 kB / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.2706, allocations: 0 / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.829e-05/0.2706, allocations: 0 / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.084e-05/0.2706, allocations: 7.984 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.2706, allocations: 0 / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.741e-05/0.2707, allocations: 124.9 kB / 1.17 GB, free: 2.477 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2708, allocations: 4 kB / 1.17 GB, free: 2.473 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001876/0.2709, allocations: 11.94 kB / 1.17 GB, free: 2.461 MB / 0.92 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.0004076/0.2714, allocations: 0.6132 MB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.415e-05/0.2714, allocations: 24.02 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.2714, allocations: 0 / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.281e-05/0.2715, allocations: 7.938 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.2716, allocations: 8 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.2728, allocations: 1.323 MB / 1.172 GB, free: 364 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.2731, allocations: 0.6963 MB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.766e-05/0.2731, allocations: 8.422 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.317e-05/0.2732, allocations: 27.42 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.2732, allocations: 0 / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3395/0.6127, allocations: 1.571 MB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.95/12.56, allocations: 16.72 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches