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.001744/0.001744, allocations: 107.2 kB / 16.46 MB, free: 6.504 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.001965/0.001965, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] 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.853/2.853, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 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.002675/0.002675, allocations: 67.91 kB / 1.104 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.893/0.8957, allocations: 168.7 MB / 1.269 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002155/0.8979, allocations: 0.8427 MB / 1.27 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001082/0.898, allocations: 35.84 kB / 1.27 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.767e-05/0.898, allocations: 4 kB / 1.27 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/0.8981, allocations: 7.875 kB / 1.27 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.62e-05/0.8981, allocations: 11.86 kB / 1.27 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.02e-05/0.8982, allocations: 19.98 kB / 1.27 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.8983, allocations: 63.78 kB / 1.27 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.8985, allocations: 35.94 kB / 1.27 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.248e-05/0.8985, allocations: 27.86 kB / 1.27 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.902e-05/0.8986, allocations: 27.86 kB / 1.27 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.8986, allocations: 4 kB / 1.27 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.8986, allocations: 8 kB / 1.27 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.8986, allocations: 15.91 kB / 1.27 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.007e-05/0.8987, allocations: 31.81 kB / 1.27 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.8988, allocations: 81.41 kB / 1.27 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.8988, allocations: 0 / 1.27 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8988, allocations: 0 / 1.27 GB, free: 3.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.8988, allocations: 4 kB / 1.27 GB, free: 3.926 MB / 0.9669 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.0004881/0.8993, allocations: 375.2 kB / 1.27 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.8994, allocations: 11.97 kB / 1.27 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.602e-05/0.8994, allocations: 42.73 kB / 1.27 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/0.8995, allocations: 12.84 kB / 1.27 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.8997, allocations: 200.1 kB / 1.271 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.8997, allocations: 8.375 kB / 1.271 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.8997, allocations: 8.359 kB / 1.271 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.8999, allocations: 97.83 kB / 1.271 GB, free: 3.078 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.8999, allocations: 3.938 kB / 1.271 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.8999, allocations: 4 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.8999, allocations: 4 kB / 1.271 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.662e-05/0.9, allocations: 35.92 kB / 1.271 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.9006, allocations: 436.7 kB / 1.271 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.808e-05/0.9007, allocations: 41.39 kB / 1.271 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.963e-05/0.9007, allocations: 21.72 kB / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.9007, allocations: 0 / 1.271 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.9008, allocations: 30.56 kB / 1.271 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.9008, allocations: 4 kB / 1.271 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001922/0.901, allocations: 61.47 kB / 1.271 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/0.901, allocations: 81.09 kB / 1.271 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.9012, allocations: 158.1 kB / 1.272 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.9012, allocations: 25.7 kB / 1.272 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.9013, allocations: 100.1 kB / 1.272 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.9013, allocations: 7.953 kB / 1.272 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.9013, allocations: 29.84 kB / 1.272 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.9015, allocations: 318.8 kB / 1.272 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.9015, allocations: 11.98 kB / 1.272 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.9015, allocations: 13.72 kB / 1.272 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.37e-05/0.9016, allocations: 25.72 kB / 1.272 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.9016, allocations: 0 / 1.272 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.257e-05/0.9017, allocations: 65.58 kB / 1.272 GB, free: 1.465 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.9017, allocations: 7.938 kB / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.9017, allocations: 0 / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.9017, allocations: 3.938 kB / 1.272 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.9018, allocations: 8 kB / 1.272 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.9018, allocations: 0 / 1.272 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.9018, allocations: 3.938 kB / 1.272 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.9018, allocations: 8 kB / 1.272 GB, free: 1.434 MB / 0.9669 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.161e-05/0.9019, allocations: 113.9 kB / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.453e-05/0.9019, allocations: 15.89 kB / 1.272 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.902, allocations: 7.859 kB / 1.272 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.902, allocations: 7.938 kB / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.902, allocations: 0 / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.902, allocations: 0 / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.9024, allocations: 470.8 kB / 1.273 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9024, allocations: 4 kB / 1.273 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/0.9024, allocations: 12 kB / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.9024, allocations: 0 / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.9024, allocations: 0 / 1.273 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.9024, allocations: 3.984 kB / 1.273 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.9024, allocations: 4 kB / 1.273 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.628e-05/0.9025, allocations: 73.89 kB / 1.273 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.9026, allocations: 97.08 kB / 1.273 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/0.9026, allocations: 0 / 1.273 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.926e-05/0.9026, allocations: 0 / 1.273 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.9026, allocations: 0 / 1.273 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.9026, allocations: 7.938 kB / 1.273 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.266e-05/0.9027, allocations: 115.2 kB / 1.273 GB, free: 412 kB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.9027, allocations: 4 kB / 1.273 GB, free: 408 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001814/0.9029, allocations: 4 kB / 1.273 GB, free: 404 kB / 0.9669 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.0004595/0.9034, allocations: 0.6215 MB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.455e-05/0.9035, allocations: 15.94 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9035, allocations: 4 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.191e-05/0.9035, allocations: 8.203 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.9036, allocations: 11.97 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.905, allocations: 1.338 MB / 1.275 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.9054, allocations: 0.6929 MB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.854e-05/0.9055, allocations: 12.42 kB / 1.276 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.9055, allocations: 23.38 kB / 1.276 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.9055, allocations: 4 kB / 1.276 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/0.93, allocations: 1.584 MB / 1.277 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.468/9.398, allocations: 14.84 kB / 1.277 GB, free: 12.01 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.692111307755113]