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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 101.8 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002177/0.002177, allocations: 211.3 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.398/3.398, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 64.14 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4535, allocations: 179 MB / 1.345 GB, free: 0.4961 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.0021/0.4556, allocations: 0.8258 MB / 1.346 GB, free: 15.67 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001205/0.4557, allocations: 43.84 kB / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.7e-05/0.4558, allocations: 3.938 kB / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.601e-05/0.4558, allocations: 3.938 kB / 1.346 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.441e-05/0.4559, allocations: 11.86 kB / 1.346 GB, free: 15.61 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 4.936e-05/0.456, allocations: 19.98 kB / 1.346 GB, free: 15.59 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.4561, allocations: 63.78 kB / 1.346 GB, free: 15.52 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.4562, allocations: 35.97 kB / 1.346 GB, free: 15.49 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.855e-05/0.4563, allocations: 23.86 kB / 1.346 GB, free: 15.46 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.259e-05/0.4564, allocations: 35.78 kB / 1.346 GB, free: 15.43 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.4564, allocations: 15.94 kB / 1.346 GB, free: 15.41 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.4564, allocations: 4 kB / 1.346 GB, free: 15.41 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.4564, allocations: 11.94 kB / 1.346 GB, free: 15.4 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.4565, allocations: 35.8 kB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001299/0.4566, allocations: 79.8 kB / 1.347 GB, free: 15.29 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.4566, allocations: 0 / 1.347 GB, free: 15.29 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4566, allocations: 0 / 1.347 GB, free: 15.29 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4566, allocations: 0 / 1.347 GB, free: 15.29 MB / 1.045 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.0004438/0.457, allocations: 306 kB / 1.347 GB, free: 14.95 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4571, allocations: 12.03 kB / 1.347 GB, free: 14.94 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.541e-05/0.4571, allocations: 4.188 kB / 1.347 GB, free: 14.94 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.4571, allocations: 38.75 kB / 1.347 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.4572, allocations: 8.891 kB / 1.347 GB, free: 14.88 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.4574, allocations: 138.3 kB / 1.347 GB, free: 14.72 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.4574, allocations: 8.375 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.4574, allocations: 12.38 kB / 1.347 GB, free: 14.7 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.4575, allocations: 95.59 kB / 1.347 GB, free: 14.6 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4575, allocations: 4 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4576, allocations: 4 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.4576, allocations: 4 kB / 1.347 GB, free: 14.59 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.649e-05/0.4576, allocations: 35.92 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.4582, allocations: 403.7 kB / 1.348 GB, free: 14.11 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.248e-05/0.4583, allocations: 45.2 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.4583, allocations: 21.84 kB / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.4583, allocations: 0 / 1.348 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.4583, allocations: 34.5 kB / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4583, allocations: 0 / 1.348 GB, free: 13.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001782/0.4585, allocations: 57.78 kB / 1.348 GB, free: 13.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.4586, allocations: 89.03 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.4587, allocations: 153.9 kB / 1.348 GB, free: 13.65 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.4587, allocations: 25.7 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.894e-05/0.4588, allocations: 108 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.267e-06/0.4588, allocations: 3.953 kB / 1.348 GB, free: 13.51 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.4589, allocations: 21.7 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.459, allocations: 314.8 kB / 1.348 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.408e-05/0.459, allocations: 16.05 kB / 1.348 GB, free: 13.15 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.349e-05/0.4591, allocations: 17.72 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.067e-05/0.4591, allocations: 21.72 kB / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4591, allocations: 0 / 1.348 GB, free: 13.1 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.274e-05/0.4592, allocations: 61.58 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4592, allocations: 15.88 kB / 1.349 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4592, allocations: 4.062 kB / 1.349 GB, free: 13.01 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.4592, allocations: 0 / 1.349 GB, free: 13.01 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.357e-05/0.4593, allocations: 8 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4593, allocations: 0 / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.841e-05/0.4593, allocations: 3.953 kB / 1.349 GB, free: 13 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.4593, allocations: 4 kB / 1.349 GB, free: 13 MB / 1.045 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 9.455e-05/0.4594, allocations: 121.7 kB / 1.349 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.4595, allocations: 11.89 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.4595, allocations: 7.797 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4595, allocations: 8 kB / 1.349 GB, free: 12.83 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4595, allocations: 96 / 1.349 GB, free: 12.83 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4595, allocations: 3.984 kB / 1.349 GB, free: 12.83 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.4599, allocations: 449.7 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4599, allocations: 0 / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.4599, allocations: 4 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.4599, allocations: 0 / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.4599, allocations: 8 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4599, allocations: 0 / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.4599, allocations: 7.984 kB / 1.349 GB, free: 12.31 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.46, allocations: 77.89 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.4601, allocations: 11.94 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.4601, allocations: 7.938 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.192e-05/0.4601, allocations: 4.031 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.4601, allocations: 0 / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.4601, allocations: 4 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001058/0.4602, allocations: 123.2 kB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4602, allocations: 0 / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001844/0.4604, allocations: 4 kB / 1.349 GB, free: 12.06 MB / 1.045 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.0004313/0.4609, allocations: 0.6132 MB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.983e-05/0.4609, allocations: 15.94 kB / 1.35 GB, free: 11.4 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4609, allocations: 0 / 1.35 GB, free: 11.4 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.375e-05/0.461, allocations: 8 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.4611, allocations: 6.031 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.4625, allocations: 1.339 MB / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.4628, allocations: 0.6922 MB / 1.352 GB, free: 9.234 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.4628, allocations: 8.438 kB / 1.352 GB, free: 9.227 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.4629, allocations: 31.36 kB / 1.352 GB, free: 9.195 MB / 1.045 GB Notification: Performance of SimCode: time 3.71e-07/0.4629, allocations: 4 kB / 1.352 GB, free: 9.191 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.4846, allocations: 1.709 MB / 1.354 GB, free: 7.629 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.7, allocations: 6.125 kB / 1.354 GB, free: 7.625 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_bar.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.063856513006613]