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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.542/2.542, allocations: 476.7 MB / 0.7628 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.91 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8121/0.8141, allocations: 168.7 MB / 1.271 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001669/0.8157, allocations: 0.8465 MB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.419e-05/0.8158, allocations: 33.77 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.8159, allocations: 5.906 kB / 1.272 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.73e-05/0.8159, allocations: 5.766 kB / 1.272 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.29e-05/0.816, allocations: 18.12 kB / 1.272 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.441e-05/0.816, allocations: 16.17 kB / 1.272 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.8161, allocations: 63.28 kB / 1.272 GB, free: 7.055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.8162, allocations: 36.64 kB / 1.272 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.843e-05/0.8163, allocations: 25.92 kB / 1.272 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.75e-05/0.8163, allocations: 30.66 kB / 1.272 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.8164, allocations: 6.531 kB / 1.272 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.8164, allocations: 5.625 kB / 1.272 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.988e-05/0.8164, allocations: 13.39 kB / 1.272 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.8164, allocations: 36.45 kB / 1.273 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.8165, allocations: 77.11 kB / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.8166, allocations: 0.5156 kB / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.244e-06/0.8166, allocations: 0.75 kB / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.8166, allocations: 0 / 1.273 GB, free: 6.93 MB / 0.9981 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.0003457/0.8169, allocations: 382.1 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.8169, allocations: 14.08 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.817, allocations: 39.39 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.613e-05/0.817, allocations: 13.53 kB / 1.273 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.8171, allocations: 200.3 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.8172, allocations: 7.875 kB / 1.273 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.8172, allocations: 13.59 kB / 1.273 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.8173, allocations: 87.95 kB / 1.273 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.8173, allocations: 8.906 kB / 1.273 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.8173, allocations: 5.453 kB / 1.273 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.8173, allocations: 5.734 kB / 1.273 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.284e-05/0.8174, allocations: 35.98 kB / 1.273 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.8178, allocations: 438.3 kB / 1.274 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.8179, allocations: 41.34 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.8179, allocations: 20.19 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.8179, allocations: 4.781 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.103e-05/0.8179, allocations: 31.88 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.8179, allocations: 0.8438 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001488/0.8181, allocations: 60.23 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.8181, allocations: 78.34 kB / 1.274 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.8182, allocations: 162.7 kB / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.261e-06/0.8182, allocations: 27.16 kB / 1.274 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.115e-05/0.8183, allocations: 107.1 kB / 1.274 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.313e-06/0.8183, allocations: 6.297 kB / 1.274 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.8183, allocations: 13.56 kB / 1.274 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.021e-05/0.8183, allocations: 325.1 kB / 1.275 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.8184, allocations: 7.953 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.856e-05/0.8184, allocations: 15.84 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.475e-05/0.8184, allocations: 26.97 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8184, allocations: 0 / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.989e-05/0.8185, allocations: 57.27 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.8185, allocations: 14.7 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8185, allocations: 0.9375 kB / 1.275 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.8185, allocations: 4.719 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.477e-05/0.8186, allocations: 5.844 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.8186, allocations: 0.9688 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.921e-05/0.8186, allocations: 11.22 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-06/0.8186, allocations: 1.75 kB / 1.275 GB, free: 4.793 MB / 0.9981 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 4.315e-05/0.8186, allocations: 117.6 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.8187, allocations: 16.19 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.187e-05/0.8187, allocations: 11.86 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.8187, allocations: 1.438 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.8187, allocations: 0.7188 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.8187, allocations: 1.281 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000246/0.819, allocations: 470.7 kB / 1.275 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.819, allocations: 1.062 kB / 1.275 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.819, allocations: 6.484 kB / 1.275 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.819, allocations: 4.906 kB / 1.275 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-06/0.819, allocations: 0.8438 kB / 1.275 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.819, allocations: 0.8125 kB / 1.275 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.819, allocations: 0.8125 kB / 1.275 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.22e-05/0.819, allocations: 74.33 kB / 1.275 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.8191, allocations: 90.39 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.8191, allocations: 11.36 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.875e-05/0.8191, allocations: 0 / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.8191, allocations: 5.719 kB / 1.276 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.8191, allocations: 0.8438 kB / 1.276 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.533e-05/0.8192, allocations: 124 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8192, allocations: 1.219 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001749/0.8194, allocations: 10.28 kB / 1.276 GB, free: 3.871 MB / 0.9981 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.0002147/0.8196, allocations: 0.6135 MB / 1.276 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.944e-05/0.8197, allocations: 20.69 kB / 1.276 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8197, allocations: 0 / 1.276 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.113e-05/0.8197, allocations: 7.688 kB / 1.276 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.8198, allocations: 11.44 kB / 1.276 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009069/0.8207, allocations: 1.336 MB / 1.278 GB, free: 18.01 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.821, allocations: 0.6931 MB / 1.278 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.888e-05/0.821, allocations: 11.19 kB / 1.278 GB, free: 17.31 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.821, allocations: 29.08 kB / 1.278 GB, free: 17.29 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.821, allocations: 0 / 1.278 GB, free: 17.29 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.8443, allocations: 1.56 MB / 1.28 GB, free: 16.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/7.732, allocations: 16.28 kB / 1.28 GB, free: 16.91 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.csv","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.170440253001289]