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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.004245/0.004245, allocations: 99.06 kB / 15.73 MB, free: 6.059 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.001042/0.001042, allocations: 189 kB / 16.67 MB, free: 5.969 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.747/2.747, allocations: 469.4 MB / 0.7421 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 71.83 kB / 1.064 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2512, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001811/0.2531, allocations: 0.8221 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.2532, allocations: 43.78 kB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.2533, allocations: 0 / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.2533, allocations: 11.86 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.988e-05/0.2534, allocations: 11.88 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.202e-05/0.2535, allocations: 19.98 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.2536, allocations: 71.7 kB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2537, allocations: 51.84 kB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.2538, allocations: 23.88 kB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.379e-05/0.2538, allocations: 27.84 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.2539, allocations: 12 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-06/0.2539, allocations: 4 kB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.2539, allocations: 15.94 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.2539, allocations: 35.73 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.2541, allocations: 75.58 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2541, allocations: 0 / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2541, allocations: 0 / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.2541, allocations: 0 / 1.221 GB, free: 13.41 MB / 0.9825 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.0003658/0.2545, allocations: 383.1 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2545, allocations: 12.03 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.2545, allocations: 38.75 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.2546, allocations: 12.84 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.2548, allocations: 196.2 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.2548, allocations: 384 / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.2548, allocations: 12.38 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.2549, allocations: 93.42 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.255, allocations: 3.938 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.255, allocations: 4 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.255, allocations: 4 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.816e-05/0.2551, allocations: 43.92 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.2555, allocations: 436.6 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.955e-05/0.2556, allocations: 45.34 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.2556, allocations: 17.77 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.2557, allocations: 4 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.2557, allocations: 34.56 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.2557, allocations: 0 / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001595/0.2558, allocations: 57.73 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.2559, allocations: 81.14 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.256, allocations: 162.2 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.2561, allocations: 25.7 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.2561, allocations: 104.1 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.2561, allocations: 7.891 kB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.2562, allocations: 21.67 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.2563, allocations: 318.8 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.2563, allocations: 11.94 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.2563, allocations: 21.66 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.834e-05/0.2564, allocations: 25.72 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2564, allocations: 0 / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.441e-05/0.2565, allocations: 61.58 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2565, allocations: 7.938 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2565, allocations: 4.062 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2565, allocations: 4 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.2566, allocations: 4 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2566, allocations: 3.984 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.2566, allocations: 7.938 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.2566, allocations: 0 / 1.223 GB, free: 10.91 MB / 0.9825 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.062e-05/0.2567, allocations: 114.4 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.2568, allocations: 11.89 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.2568, allocations: 11.88 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2568, allocations: 4 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2568, allocations: 0 / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.2568, allocations: 3.938 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.2572, allocations: 470.8 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.2572, allocations: 4 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.2572, allocations: 3.938 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2572, allocations: 4 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.2572, allocations: 4.062 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2572, allocations: 4 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2572, allocations: 0 / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.947e-05/0.2573, allocations: 77.88 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.2574, allocations: 85.06 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.2574, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.227e-05/0.2574, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.2574, allocations: 12.03 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2575, allocations: 7.984 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.945e-05/0.2575, allocations: 122 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.353e-06/0.2576, allocations: 0 / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001994/0.2578, allocations: 11.94 kB / 1.224 GB, free: 9.863 MB / 0.9825 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.0003261/0.2581, allocations: 0.6132 MB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.763e-05/0.2582, allocations: 23.92 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2582, allocations: 0 / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.02e-05/0.2582, allocations: 4 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.2584, allocations: 9.875 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.2594, allocations: 1.339 MB / 1.226 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.2596, allocations: 0.6885 MB / 1.227 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.2597, allocations: 8.422 kB / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.2597, allocations: 27.42 kB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.2597, allocations: 0 / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01607/0.2758, allocations: 1.577 MB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.04/7.316, allocations: 14.84 kB / 1.228 GB, free: 5.512 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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