Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001329/0.001329, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00157/0.00157, allocations: 210.7 kB / 22.25 MB, free: 5.262 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.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.911/2.911, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.From_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar",fmuType="me",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.002195/0.002195, allocations: 69.59 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3998, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002779/0.4026, allocations: 0.7858 MB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001705/0.4028, allocations: 43.78 kB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.506e-05/0.4028, allocations: 7.938 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.973e-05/0.4029, allocations: 11.86 kB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.75e-05/0.403, allocations: 7.875 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.584e-05/0.403, allocations: 19.98 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.4032, allocations: 55.91 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.4034, allocations: 35.47 kB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.729e-05/0.4034, allocations: 31.88 kB / 1.284 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.088e-05/0.4035, allocations: 31.72 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.4035, allocations: 4 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.447e-05/0.4036, allocations: 8 kB / 1.284 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.4036, allocations: 11.94 kB / 1.284 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.988e-05/0.4036, allocations: 23.86 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.4038, allocations: 77.33 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4038, allocations: 0 / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.624e-06/0.4038, allocations: 0 / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.175e-05/0.4038, allocations: 0 / 1.284 GB, free: 11.27 MB / 0.9825 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.0005841/0.4044, allocations: 314.1 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.4044, allocations: 12.03 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.297e-05/0.4045, allocations: 42.62 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.4045, allocations: 8.891 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002647/0.4048, allocations: 142.3 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.4048, allocations: 4.375 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.4048, allocations: 12.36 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.4051, allocations: 95.8 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4051, allocations: 3.938 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.4051, allocations: 4 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.4051, allocations: 8 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.389e-05/0.4052, allocations: 31.98 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006705/0.4059, allocations: 395.8 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.846e-05/0.4059, allocations: 37.16 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.406, allocations: 13.84 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.406, allocations: 12.03 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.406, allocations: 30.56 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.406, allocations: 0 / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002006/0.4062, allocations: 65.52 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/0.4063, allocations: 77.11 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.4065, allocations: 160.9 kB / 1.285 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.4065, allocations: 25.7 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/0.4066, allocations: 108 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.03e-05/0.4066, allocations: 3.953 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.4067, allocations: 17.72 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4068, allocations: 322.8 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.4068, allocations: 8 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.323e-05/0.4069, allocations: 17.72 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.204e-05/0.4069, allocations: 33.91 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4069, allocations: 4 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.669e-05/0.407, allocations: 53.64 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.407, allocations: 7.938 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.407, allocations: 0 / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.4071, allocations: 4 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.835e-05/0.4071, allocations: 11.88 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4071, allocations: 0 / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.491e-05/0.4072, allocations: 8.016 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.4072, allocations: 4 kB / 1.286 GB, free: 8.973 MB / 0.9825 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 0.0001037/0.4073, allocations: 117.8 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.4073, allocations: 11.89 kB / 1.286 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.09e-05/0.4074, allocations: 11.81 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4074, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4074, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.676e-06/0.4074, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.4078, allocations: 445.7 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.4078, allocations: 3.984 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.4078, allocations: 8.062 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4078, allocations: 0 / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.4078, allocations: 0 / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.4078, allocations: 0 / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4078, allocations: 0 / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.4079, allocations: 85.83 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.408, allocations: 15.89 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.408, allocations: 0 / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.408, allocations: 0 / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.408, allocations: 8 kB / 1.286 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.408, allocations: 4.031 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001174/0.4082, allocations: 121.9 kB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4082, allocations: 0 / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001947/0.4084, allocations: 8 kB / 1.287 GB, free: 8.062 MB / 0.9825 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.0004656/0.4088, allocations: 0.6132 MB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.4089, allocations: 19.98 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.4089, allocations: 0 / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.379e-05/0.4089, allocations: 8.094 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.4091, allocations: 10.31 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.4106, allocations: 1.327 MB / 1.288 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.808e-05/0.4107, allocations: 83.14 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.839e-05/0.4107, allocations: 8.422 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.516e-05/0.4108, allocations: 27.44 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.4108, allocations: 7.875 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07829/0.4891, allocations: 2.103 MB / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.94, allocations: 5.875 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_bar.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 18.853001846931875]