Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.To_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_11_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.001231/0.001231, 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.001191/0.001191, allocations: 191.7 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.573/2.573, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 63.83 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2538, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001993/0.2558, allocations: 0.8274 MB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001017/0.256, allocations: 43.8 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.256, allocations: 0 / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.823e-05/0.2561, allocations: 15.8 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.595e-05/0.2561, allocations: 7.922 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.563e-05/0.2562, allocations: 19.98 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.961e-05/0.2563, allocations: 63.78 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.2564, allocations: 43.97 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.2565, allocations: 23.86 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.276e-05/0.2565, allocations: 27.86 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.2566, allocations: 4 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.2566, allocations: 8 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.2566, allocations: 19.86 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.996e-05/0.2567, allocations: 43.73 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.2568, allocations: 71.98 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2568, allocations: 0 / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2568, allocations: 4 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.2568, allocations: 0 / 1.065 GB, free: 12.97 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.0004001/0.2572, allocations: 363.3 kB / 1.066 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2572, allocations: 12.03 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.678e-05/0.2573, allocations: 38.73 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.2573, allocations: 16.75 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.2575, allocations: 188.2 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.2575, allocations: 20.23 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.2576, allocations: 4.375 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.2577, allocations: 91.95 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.2577, allocations: 3.938 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.2577, allocations: 0 / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2577, allocations: 0 / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/0.2578, allocations: 39.92 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.2583, allocations: 436.6 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.732e-05/0.2584, allocations: 41.19 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.2584, allocations: 29.83 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-06/0.2584, allocations: 0 / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.2585, allocations: 34.56 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2585, allocations: 0 / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001504/0.2586, allocations: 57.48 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.2587, allocations: 81.34 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.2589, allocations: 166.2 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.2589, allocations: 25.7 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.2589, allocations: 101.9 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/0.259, allocations: 3.906 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.259, allocations: 25.64 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2591, allocations: 318.8 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.719e-05/0.2591, allocations: 7.984 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.959e-05/0.2592, allocations: 25.66 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.2592, allocations: 25.72 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2592, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.352e-05/0.2593, allocations: 61.53 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2593, allocations: 9.5 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2593, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.2594, allocations: 0 / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.258e-05/0.2594, allocations: 12.06 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.2594, allocations: 0 / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.927e-05/0.2595, allocations: 7.844 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.286e-06/0.2595, allocations: 4 kB / 1.067 GB, free: 10.49 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 7.809e-05/0.2596, allocations: 113.8 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.2596, allocations: 11.84 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.2596, allocations: 15.8 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2596, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2596, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2596, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003821/0.26, allocations: 470.8 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.26, allocations: 0 / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.877e-05/0.2601, allocations: 4 kB / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2601, allocations: 96 / 1.068 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-06/0.2601, allocations: 3.938 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2601, allocations: 0 / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.2601, allocations: 11.97 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.988e-05/0.2602, allocations: 77.91 kB / 1.068 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.963e-05/0.2603, allocations: 93 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.2603, allocations: 0 / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.852e-05/0.2603, allocations: 0 / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.167e-06/0.2603, allocations: 0 / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2603, allocations: 4 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.59e-05/0.2604, allocations: 125.9 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2604, allocations: 0 / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001767/0.2606, allocations: 4 kB / 1.068 GB, free: 9.457 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.0003858/0.261, allocations: 0.6248 MB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.745e-05/0.2611, allocations: 23.94 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2611, allocations: 0 / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.829e-06/0.2611, allocations: 4 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001413/0.2612, allocations: 15.92 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.2624, allocations: 1.316 MB / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/0.2627, allocations: 0.6924 MB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.88e-05/0.2627, allocations: 12.42 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.082e-05/0.2628, allocations: 23.44 kB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2628, allocations: 0 / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4743/0.737, allocations: 1.533 MB / 1.072 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.09, allocations: 13.73 kB / 1.072 GB, free: 5.125 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches