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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001621/0.001621, allocations: 108 kB / 15.61 MB, free: 152 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.001872/0.001872, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.805/2.805, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 64.56 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.249, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002005/0.2511, allocations: 0.8216 MB / 1.064 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001098/0.2512, allocations: 39.86 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.2513, allocations: 3.938 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.379e-05/0.2513, allocations: 7.922 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.492e-05/0.2514, allocations: 11.86 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.471e-05/0.2515, allocations: 19.98 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.504e-05/0.2516, allocations: 67.78 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.2517, allocations: 47.97 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.2518, allocations: 23.86 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.984e-05/0.2518, allocations: 27.8 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.2518, allocations: 8 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.2518, allocations: 4 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.2519, allocations: 15.98 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.2519, allocations: 39.73 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.252, allocations: 75.98 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.252, allocations: 3.938 kB / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.252, allocations: 0 / 1.065 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.2521, allocations: 0 / 1.065 GB, free: 13.28 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.0003706/0.2524, allocations: 367.3 kB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2525, allocations: 8.031 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.2525, allocations: 42.73 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.2526, allocations: 16.69 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.2527, allocations: 192.2 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.2528, allocations: 8.375 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.2528, allocations: 8.359 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.2529, allocations: 95.89 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2529, allocations: 3.938 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.253, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.253, allocations: 4 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.457e-05/0.2531, allocations: 43.92 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004882/0.2535, allocations: 436.6 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.388e-05/0.2536, allocations: 45.23 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.2537, allocations: 25.72 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.2537, allocations: 0 / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.2537, allocations: 34.56 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2537, allocations: 0 / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.2539, allocations: 53.48 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.996e-05/0.2539, allocations: 81.09 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.2541, allocations: 164.9 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.2541, allocations: 25.7 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.362e-05/0.2541, allocations: 100 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.03e-05/0.2542, allocations: 11.91 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.2542, allocations: 17.7 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/0.2543, allocations: 314.8 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.948e-05/0.2543, allocations: 11.98 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.2543, allocations: 13.72 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.976e-05/0.2544, allocations: 33.66 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2544, allocations: 4 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.346e-05/0.2545, allocations: 57.53 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2545, allocations: 9.812 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.2545, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2545, allocations: 4 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.833e-05/0.2546, allocations: 4 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2546, allocations: 8 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.2546, allocations: 11.84 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.2547, allocations: 0 / 1.067 GB, free: 10.8 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.716e-05/0.2547, allocations: 115.6 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.2548, allocations: 15.83 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.2548, allocations: 11.88 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2548, allocations: 0 / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2548, allocations: 0 / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2548, allocations: 0 / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/0.2552, allocations: 474.8 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2552, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.2552, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2552, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.2553, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2553, allocations: 3.984 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2553, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.742e-05/0.2554, allocations: 81.84 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.2554, allocations: 93 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.2554, allocations: 0 / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.201e-05/0.2554, allocations: 0 / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.402e-05/0.2555, allocations: 4 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.2555, allocations: 7.938 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.994e-05/0.2556, allocations: 123.3 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2556, allocations: 0 / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001962/0.2558, allocations: 8 kB / 1.068 GB, free: 9.762 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.0003162/0.2561, allocations: 0.6231 MB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.318e-05/0.2562, allocations: 16 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.2562, allocations: 0 / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.123e-05/0.2562, allocations: 11.92 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.2564, allocations: 8 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.2574, allocations: 1.319 MB / 1.07 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.2577, allocations: 0.6889 MB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.339e-05/0.2577, allocations: 12.42 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.2578, allocations: 31.36 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.2578, allocations: 0 / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.2736, allocations: 1.545 MB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/7.388, allocations: 12.16 kB / 1.072 GB, free: 5.438 MB / 0.8262 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