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.001442/0.001446, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.583/2.583, allocations: 469.8 MB / 0.7424 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 73.59 kB / 0.9087 GB, free: 34.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2512, allocations: 159.1 MB / 1.064 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.001852/0.2531, allocations: 0.8291 MB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.607e-05/0.2532, allocations: 43.78 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.2532, allocations: 0 / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.889e-05/0.2533, allocations: 7.875 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.082e-05/0.2534, allocations: 11.92 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.311e-05/0.2534, allocations: 19.98 kB / 1.065 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.975e-05/0.2535, allocations: 63.78 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.2537, allocations: 47.95 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.233e-05/0.2537, allocations: 23.88 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.2538, allocations: 27.84 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.2538, allocations: 4 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.2538, allocations: 8 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.2538, allocations: 19.86 kB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.2539, allocations: 35.75 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.239e-05/0.254, allocations: 71.98 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.254, allocations: 4 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.254, allocations: 0 / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.254, allocations: 0 / 1.065 GB, free: 12.92 MB / 0.8262 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.0004091/0.2544, allocations: 375.3 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.2544, allocations: 8.031 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.517e-05/0.2545, allocations: 42.73 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.2545, allocations: 12.75 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.2547, allocations: 188.2 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.2547, allocations: 8.375 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.2547, allocations: 4.375 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.2549, allocations: 95.95 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.2549, allocations: 3.938 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.2549, allocations: 3.938 kB / 1.066 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.2549, allocations: 11.97 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.912e-05/0.255, allocations: 39.86 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.2555, allocations: 436.6 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.522e-05/0.2555, allocations: 45.25 kB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.2556, allocations: 17.78 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-06/0.2556, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.2556, allocations: 38.55 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.2556, allocations: 4 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001447/0.2558, allocations: 53.48 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.2558, allocations: 77.11 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.256, allocations: 168.6 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.256, allocations: 25.7 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.2561, allocations: 101.9 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.708e-06/0.2561, allocations: 11.91 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.2561, allocations: 9.969 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2562, allocations: 326.8 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.963e-05/0.2563, allocations: 8 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.2563, allocations: 21.66 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.151e-05/0.2563, allocations: 29.7 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2563, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.124e-05/0.2564, allocations: 61.55 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2564, allocations: 9.656 kB / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.2564, allocations: 0 / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.2565, allocations: 0 / 1.067 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.229e-05/0.2565, allocations: 11.98 kB / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.2565, allocations: 0 / 1.067 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.088e-05/0.2566, allocations: 11.84 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.2566, allocations: 4 kB / 1.067 GB, free: 10.43 MB / 0.8262 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.782e-05/0.2566, allocations: 109.8 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.2567, allocations: 19.91 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.878e-05/0.2567, allocations: 11.86 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.2567, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.2567, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2567, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.2571, allocations: 474.7 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2571, allocations: 0 / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.2571, allocations: 12 kB / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.2571, allocations: 0 / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.2571, allocations: 0 / 1.068 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.2572, allocations: 4 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2572, allocations: 0 / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.398e-05/0.2572, allocations: 77.83 kB / 1.068 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.2573, allocations: 92.95 kB / 1.068 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.2573, allocations: 4.031 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.2573, allocations: 3.984 kB / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-06/0.2573, allocations: 0 / 1.068 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.2574, allocations: 4 kB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.256e-05/0.2574, allocations: 120.7 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2574, allocations: 0 / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001686/0.2576, allocations: 4 kB / 1.068 GB, free: 9.398 MB / 0.8262 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.0003549/0.258, allocations: 0.6248 MB / 1.069 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.494e-05/0.2581, allocations: 23.94 kB / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2581, allocations: 0 / 1.069 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.251e-05/0.2581, allocations: 8 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.2582, allocations: 8.281 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.2593, allocations: 1.32 MB / 1.07 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.2596, allocations: 0.6885 MB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.2596, allocations: 8.422 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.2597, allocations: 23.44 kB / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2597, allocations: 0 / 1.071 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.356/5.616, allocations: 1.552 MB / 1.072 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.567/15.18, allocations: 11.55 kB / 1.073 GB, free: 5.059 MB / 0.8262 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