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.008069/0.008069, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.002049/0.002049, allocations: 198.6 kB / 16.68 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.326/2.326, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 64.53 kB / 0.9504 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2316, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.00196/0.2336, allocations: 0.8254 MB / 1.088 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001329/0.2338, allocations: 47.78 kB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.2339, allocations: 0 / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.061e-05/0.2339, allocations: 15.86 kB / 1.088 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.087e-05/0.234, allocations: 3.938 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.501e-05/0.2341, allocations: 19.98 kB / 1.088 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2342, allocations: 67.77 kB / 1.088 GB, free: 1.035 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.2343, allocations: 43.97 kB / 1.088 GB, free: 0.9922 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.2344, allocations: 23.86 kB / 1.089 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.2344, allocations: 27.86 kB / 1.089 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.2344, allocations: 4 kB / 1.089 GB, free: 0.9375 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.2345, allocations: 8 kB / 1.089 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2e-05/0.2345, allocations: 19.91 kB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.2345, allocations: 39.69 kB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.2346, allocations: 75.86 kB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.2347, allocations: 3.938 kB / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2347, allocations: 4 kB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.2347, allocations: 4 kB / 1.089 GB, free: 0.7852 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.0003955/0.2351, allocations: 375.1 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2351, allocations: 12.03 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.2352, allocations: 38.73 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.2352, allocations: 12.89 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001839/0.2354, allocations: 192.2 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.2354, allocations: 8.375 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.2354, allocations: 4.375 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.2356, allocations: 101.3 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.2356, allocations: 3.938 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2356, allocations: 7.922 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2356, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.409e-05/0.2357, allocations: 35.98 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.2362, allocations: 432.7 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.141e-05/0.2363, allocations: 41.28 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.2363, allocations: 21.84 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-06/0.2363, allocations: 0 / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.2364, allocations: 42.48 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2364, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001597/0.2365, allocations: 53.59 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.2366, allocations: 81.05 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.2367, allocations: 160.9 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.2368, allocations: 29.64 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.2368, allocations: 104 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/0.2368, allocations: 7.891 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.2369, allocations: 21.97 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.237, allocations: 322.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.237, allocations: 4 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.297e-05/0.237, allocations: 21.7 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.283e-05/0.2371, allocations: 25.72 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2371, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.538e-05/0.2372, allocations: 65.59 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.2372, allocations: 7.938 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.2372, allocations: 3.984 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2372, allocations: 3.984 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.819e-05/0.2373, allocations: 8 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2373, allocations: 0 / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.2373, allocations: 3.953 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2373, allocations: 7.938 kB / 1.091 GB, free: 14.3 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.514e-05/0.2374, allocations: 121.8 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.595e-05/0.2375, allocations: 11.89 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.2375, allocations: 11.86 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2375, allocations: 4 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2375, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2375, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.2379, allocations: 474.8 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2379, allocations: 4.062 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.2379, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2379, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.238, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.238, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.238, allocations: 4 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.993e-05/0.238, allocations: 81.81 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.2381, allocations: 89.09 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.2381, allocations: 7.984 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.164e-05/0.2382, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.2382, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.2382, allocations: 7.938 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.27e-05/0.2383, allocations: 117.3 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2383, allocations: 4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001974/0.2385, allocations: 11.89 kB / 1.092 GB, free: 13.25 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.0003504/0.2388, allocations: 0.6171 MB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.66e-05/0.2389, allocations: 19.94 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2389, allocations: 0 / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/0.2389, allocations: 8.219 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.2391, allocations: 8 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.2403, allocations: 1.324 MB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.2405, allocations: 0.7006 MB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.2406, allocations: 8.438 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.2406, allocations: 23.42 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.2406, allocations: 0 / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.2574, allocations: 1.58 MB / 1.096 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.053/7.31, allocations: 0 / 1.096 GB, free: 8.902 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