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.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.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.005904/0.005908, allocations: 99.44 kB / 15.73 MB, free: 6.039 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.001646/0.001646, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.398/2.398, allocations: 437.1 MB / 0.7106 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001748, allocations: 63.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2475, allocations: 151.6 MB / 1.166 GB, free: 7.328 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001788/0.2493, allocations: 0.8319 MB / 1.167 GB, free: 6.488 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001029/0.2495, allocations: 51.78 kB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.2495, allocations: 0 / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.2495, allocations: 11.88 kB / 1.167 GB, free: 6.426 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-05/0.2496, allocations: 11.86 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.063e-05/0.2497, allocations: 15.98 kB / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.2498, allocations: 67.83 kB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.2499, allocations: 39.98 kB / 1.167 GB, free: 6.293 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.549e-05/0.2499, allocations: 27.86 kB / 1.167 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.25, allocations: 27.8 kB / 1.167 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.25, allocations: 11.94 kB / 1.167 GB, free: 6.227 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.25, allocations: 4 kB / 1.167 GB, free: 6.223 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.2501, allocations: 19.92 kB / 1.167 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.2501, allocations: 31.81 kB / 1.167 GB, free: 6.172 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.2502, allocations: 75.84 kB / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.2502, allocations: 0 / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of FrontEnd: time 9.22e-07/0.2502, allocations: 0 / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.2502, allocations: 0 / 1.167 GB, free: 6.098 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.0003967/0.2506, allocations: 383.1 kB / 1.168 GB, free: 5.672 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2507, allocations: 12.03 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.6e-05/0.2507, allocations: 42.73 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.502e-05/0.2508, allocations: 12.84 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.2509, allocations: 192.2 kB / 1.168 GB, free: 5.371 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.251, allocations: 8.359 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.251, allocations: 8.375 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.2511, allocations: 91.89 kB / 1.168 GB, free: 5.254 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.2511, allocations: 3.938 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2512, allocations: 15.92 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2512, allocations: 0 / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.942e-05/0.2512, allocations: 35.98 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.2517, allocations: 436.7 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.146e-05/0.2518, allocations: 41.16 kB / 1.169 GB, free: 4.66 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/0.2518, allocations: 25.77 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.2518, allocations: 0 / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.2519, allocations: 38.59 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.2519, allocations: 0 / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001449/0.252, allocations: 57.53 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.2521, allocations: 85.09 kB / 1.169 GB, free: 4.418 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.2522, allocations: 156.1 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.2522, allocations: 25.7 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.609e-05/0.2523, allocations: 100.1 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.2523, allocations: 7.891 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.2524, allocations: 21.7 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.2525, allocations: 323.1 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.2525, allocations: 3.984 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-05/0.2526, allocations: 21.72 kB / 1.169 GB, free: 3.734 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.838e-05/0.2526, allocations: 25.66 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2526, allocations: 0 / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.365e-05/0.2527, allocations: 65.62 kB / 1.17 GB, free: 3.633 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2527, allocations: 11.94 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.2527, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.2527, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-05/0.2528, allocations: 7.938 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2528, allocations: 4 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.451e-05/0.2528, allocations: 0 / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.2528, allocations: 7.984 kB / 1.17 GB, free: 3.602 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.143e-05/0.2529, allocations: 109.8 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.253, allocations: 11.92 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.253, allocations: 19.86 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.253, allocations: 0 / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.253, allocations: 8 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.253, allocations: 0 / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003749/0.2534, allocations: 474.7 kB / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2534, allocations: 0 / 1.17 GB, free: 2.914 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.851e-05/0.2534, allocations: 4 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2534, allocations: 4.062 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.2534, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2534, allocations: 0 / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2535, allocations: 3.984 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.301e-05/0.2535, allocations: 81.83 kB / 1.17 GB, free: 2.801 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.2536, allocations: 89.05 kB / 1.17 GB, free: 2.695 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.2536, allocations: 8.031 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.809e-05/0.2536, allocations: 0 / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.2537, allocations: 4 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.2537, allocations: 3.938 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of sorting global known variables: time 8.904e-05/0.2538, allocations: 119.9 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2538, allocations: 0 / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001728/0.2539, allocations: 11.94 kB / 1.17 GB, free: 2.551 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.0003643/0.2543, allocations: 0.621 MB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.035e-05/0.2544, allocations: 16 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2544, allocations: 4 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.2544, allocations: 7.938 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.2546, allocations: 8.266 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.2557, allocations: 1.332 MB / 1.172 GB, free: 444 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.256, allocations: 0.6924 MB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.877e-05/0.256, allocations: 12.42 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.256, allocations: 23.44 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of SimCode: time 4.2e-07/0.256, allocations: 0 / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.278/3.534, allocations: 1.575 MB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/16.89, allocations: 8.156 kB / 1.175 GB, free: 14.2 MB / 0.9356 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=400 --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