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.001256/0.001256, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001202/0.001202, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.316/1.316, allocations: 225.6 MB / 249.3 MB, free: 3.195 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.513/2.513, allocations: 476.7 MB / 0.7628 GB, free: 15.27 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.00183/0.00183, allocations: 67.89 kB / 1.107 GB, free: 5.172 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8039/0.8057, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001765/0.8075, allocations: 0.8577 MB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.416e-05/0.8076, allocations: 41.67 kB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.8076, allocations: 1.438 kB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.355e-05/0.8076, allocations: 9.984 kB / 1.272 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.868e-05/0.8077, allocations: 10.16 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.188e-05/0.8078, allocations: 16.39 kB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.923e-05/0.8079, allocations: 68.27 kB / 1.272 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.808, allocations: 31.47 kB / 1.272 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.017e-05/0.808, allocations: 30.58 kB / 1.272 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.8081, allocations: 30.91 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.8081, allocations: 6.719 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.8081, allocations: 6.219 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.8081, allocations: 19.64 kB / 1.272 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.8082, allocations: 32.62 kB / 1.273 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.8083, allocations: 77.61 kB / 1.273 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.8083, allocations: 0 / 1.273 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8083, allocations: 1.094 kB / 1.273 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8083, allocations: 0 / 1.273 GB, free: 6.977 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.0003155/0.8086, allocations: 380.3 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.8086, allocations: 9.406 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.981e-05/0.8087, allocations: 39.34 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.8087, allocations: 13.81 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.8089, allocations: 199.9 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.8089, allocations: 4.656 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.377e-05/0.8089, allocations: 9.219 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.809, allocations: 94.33 kB / 1.273 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.809, allocations: 3.938 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.809, allocations: 9.438 kB / 1.273 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.809, allocations: 2.453 kB / 1.273 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.265e-05/0.8091, allocations: 35.84 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.8095, allocations: 433.7 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.486e-05/0.8096, allocations: 41.97 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.343e-05/0.8096, allocations: 19.67 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.8096, allocations: 1.406 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.747e-05/0.8096, allocations: 36.12 kB / 1.274 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.8096, allocations: 3.984 kB / 1.274 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001568/0.8098, allocations: 65.58 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.8098, allocations: 77.86 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.8099, allocations: 154.9 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.8099, allocations: 26.61 kB / 1.274 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.81, allocations: 108.6 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.81, allocations: 8.875 kB / 1.274 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.707e-05/0.81, allocations: 19.58 kB / 1.274 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4e-05/0.8101, allocations: 327.3 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.8101, allocations: 3.531 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.848e-05/0.8101, allocations: 19.95 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.505e-05/0.8101, allocations: 26.33 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.8101, allocations: 0.8125 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.052e-05/0.8102, allocations: 57.69 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.8102, allocations: 13.56 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8102, allocations: 2.969 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.8102, allocations: 0.625 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.547e-05/0.8103, allocations: 9.469 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.8103, allocations: 4.812 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.8103, allocations: 5.812 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.8103, allocations: 1.656 kB / 1.275 GB, free: 4.84 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.586e-05/0.8104, allocations: 114.9 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.8104, allocations: 15.97 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.247e-05/0.8104, allocations: 12.89 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.8104, allocations: 0 / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.8104, allocations: 0.9688 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8104, allocations: 3.156 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.8107, allocations: 468.4 kB / 1.275 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8107, allocations: 1.188 kB / 1.275 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.81e-05/0.8107, allocations: 6.641 kB / 1.275 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8107, allocations: 5.156 kB / 1.275 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.8107, allocations: 1.062 kB / 1.275 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8107, allocations: 3.938 kB / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8107, allocations: 0.6875 kB / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.821e-05/0.8108, allocations: 82.27 kB / 1.275 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.774e-05/0.8108, allocations: 86.83 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.8108, allocations: 7.031 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.8108, allocations: 0.7812 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.031e-05/0.8109, allocations: 1.781 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.8109, allocations: 0.875 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.554e-05/0.8109, allocations: 124.2 kB / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.8109, allocations: 0 / 1.276 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000174/0.8111, allocations: 7.312 kB / 1.276 GB, free: 3.926 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.0002209/0.8113, allocations: 0.6179 MB / 1.276 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.624e-05/0.8114, allocations: 18.47 kB / 1.276 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8114, allocations: 0 / 1.276 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.8114, allocations: 12.19 kB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.8115, allocations: 15.12 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009388/0.8125, allocations: 1.325 MB / 1.278 GB, free: 18.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.8128, allocations: 0.6937 MB / 1.278 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.938e-05/0.8128, allocations: 10.8 kB / 1.278 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.8128, allocations: 24.81 kB / 1.278 GB, free: 17.35 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.8128, allocations: 0 / 1.278 GB, free: 17.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.8357, allocations: 1.565 MB / 1.28 GB, free: 16.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/7.612, allocations: 9.922 kB / 1.28 GB, free: 16.96 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 & /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 --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/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: 12.976199036000253]