Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_9_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.007261/0.007261, allocations: 101.9 kB / 15.73 MB, free: 6.438 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.001795/0.001795, allocations: 194.6 kB / 16.67 MB, free: 6.355 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.336/2.336, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.58 kB / 0.9504 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2367, allocations: 140.4 MB / 1.087 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001894/0.2386, allocations: 0.8247 MB / 1.088 GB, free: 1.098 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001379/0.2388, allocations: 51.78 kB / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.2388, allocations: 0 / 1.088 GB, free: 1.047 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.036e-05/0.2389, allocations: 7.875 kB / 1.088 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.99e-05/0.239, allocations: 7.922 kB / 1.088 GB, free: 1.031 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.785e-05/0.239, allocations: 19.98 kB / 1.088 GB, free: 1.012 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.2391, allocations: 63.78 kB / 1.088 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.2393, allocations: 43.95 kB / 1.088 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.2393, allocations: 27.86 kB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.577e-05/0.2394, allocations: 31.84 kB / 1.089 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2394, allocations: 4 kB / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.134e-05/0.2395, allocations: 12 kB / 1.089 GB, free: 0.832 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.2395, allocations: 15.88 kB / 1.089 GB, free: 0.8164 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.2395, allocations: 43.73 kB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.2396, allocations: 66.52 kB / 1.089 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2396, allocations: 4 kB / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2397, allocations: 0 / 1.089 GB, free: 0.707 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.2397, allocations: 0 / 1.089 GB, free: 0.707 MB / 0.8419 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.0003975/0.2401, allocations: 376.1 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2401, allocations: 12.03 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.678e-05/0.2402, allocations: 42.75 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.2402, allocations: 16.75 kB / 1.089 GB, free: 216 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.2404, allocations: 196.1 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.2404, allocations: 4.375 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.2404, allocations: 8.375 kB / 1.089 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.2406, allocations: 91.95 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2406, allocations: 7.875 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.2406, allocations: 0 / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.2406, allocations: 4 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.616e-05/0.2407, allocations: 39.92 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.2412, allocations: 444.6 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.121e-05/0.2413, allocations: 37.16 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.2413, allocations: 21.84 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.2414, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.2414, allocations: 38.5 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.2414, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001619/0.2416, allocations: 57.53 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.2416, allocations: 81.3 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.2418, allocations: 165.1 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.2418, allocations: 25.7 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.2418, allocations: 104 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.424e-06/0.2419, allocations: 3.906 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.2419, allocations: 17.72 kB / 1.09 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.242, allocations: 322.8 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.242, allocations: 4 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/0.242, allocations: 21.72 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.793e-05/0.2421, allocations: 21.72 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2421, allocations: 3.938 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.796e-05/0.2422, allocations: 61.59 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2422, allocations: 7.938 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2422, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2422, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.194e-05/0.2423, allocations: 12.06 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.2423, allocations: 3.938 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.2424, allocations: 7.844 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.2424, allocations: 4 kB / 1.091 GB, free: 14.22 MB / 0.8575 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.063e-05/0.2424, allocations: 117.8 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.2425, allocations: 11.84 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.2425, allocations: 7.875 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2425, allocations: 4 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2425, allocations: 0 / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2425, allocations: 4 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.2429, allocations: 466.8 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2429, allocations: 0 / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.2429, allocations: 7.984 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.243, allocations: 0 / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.243, allocations: 0 / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.243, allocations: 0 / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.243, allocations: 8.062 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.725e-05/0.2431, allocations: 81.78 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.2431, allocations: 92.94 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.2431, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.117e-05/0.2432, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.2432, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.2432, allocations: 8.031 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.555e-05/0.2433, allocations: 124.5 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2433, allocations: 3.938 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001974/0.2435, allocations: 4 kB / 1.092 GB, free: 13.18 MB / 0.8575 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.0003573/0.2439, allocations: 0.6171 MB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.514e-05/0.244, allocations: 23.92 kB / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.244, allocations: 0 / 1.092 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.259e-05/0.244, allocations: 4 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.2442, allocations: 19.14 kB / 1.092 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.2453, allocations: 1.333 MB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.2456, allocations: 0.6929 MB / 1.094 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.443e-05/0.2456, allocations: 8.422 kB / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.2457, allocations: 19.44 kB / 1.094 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2457, allocations: 0 / 1.094 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.262, allocations: 1.575 MB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.042/7.304, allocations: 0 / 1.096 GB, free: 8.828 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches