Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 192.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.567/2.567, allocations: 461.8 MB / 0.7342 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 70.83 kB / 0.8985 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2299, allocations: 157.4 MB / 1.052 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.6485/0.8785, allocations: 212.5 MB / 1.26 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.8902, allocations: 12.26 MB / 1.272 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.8915, allocations: 49.81 kB / 1.272 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009878/0.8925, allocations: 410.8 kB / 1.272 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003576/0.8961, allocations: 1.764 MB / 1.274 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003623/0.8998, allocations: 1.743 MB / 1.276 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003151/0.9029, allocations: 3.072 MB / 1.279 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.9041, allocations: 1.023 MB / 1.28 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.9053, allocations: 0.7235 MB / 1.28 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009623/0.9063, allocations: 0.7032 MB / 1.281 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.9064, allocations: 46.72 kB / 1.281 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006141/0.9126, allocations: 3.525 MB / 1.284 GB, free: 1.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000519/0.9131, allocations: 0.5031 MB / 1.285 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007493/0.9139, allocations: 0.6731 MB / 1.286 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004465/0.9184, allocations: 3.328 MB / 1.289 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.9184, allocations: 5.125 kB / 1.289 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9184, allocations: 3.141 kB / 1.289 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.053e-05/0.9184, allocations: 0 / 1.289 GB, free: 1.66 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.00218/0.9206, allocations: 1.733 MB / 1.29 GB, free: 16.73 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.9206, allocations: 18 kB / 1.29 GB, free: 16.72 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.9208, allocations: 169.5 kB / 1.291 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/0.9225, allocations: 367.8 kB / 1.291 GB, free: 16.6 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.9236, allocations: 0.8914 MB / 1.292 GB, free: 16.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.9236, allocations: 77.31 kB / 1.292 GB, free: 16.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.9238, allocations: 99.16 kB / 1.292 GB, free: 16.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.9256, allocations: 1.511 MB / 1.294 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.9256, allocations: 8.281 kB / 1.294 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.973e-05/0.9257, allocations: 43.84 kB / 1.294 GB, free: 15.95 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.669e-05/0.9258, allocations: 63.19 kB / 1.294 GB, free: 15.94 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.927, allocations: 1.014 MB / 1.295 GB, free: 15.93 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005604/0.9327, allocations: 5.928 MB / 1.3 GB, free: 12.43 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.9332, allocations: 324.8 kB / 1.301 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.9334, allocations: 247 kB / 1.301 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/0.9341, allocations: 0.7057 MB / 1.302 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.9341, allocations: 44.78 kB / 1.302 GB, free: 11.5 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.9342, allocations: 4 kB / 1.302 GB, free: 11.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.00123/0.9354, allocations: 0.6701 MB / 1.302 GB, free: 11.39 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.672e-05/0.9355, allocations: 132.3 kB / 1.302 GB, free: 11.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.9373, allocations: 1.663 MB / 1.304 GB, free: 11.07 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.9373, allocations: 31.36 kB / 1.304 GB, free: 11.04 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.9377, allocations: 0.5588 MB / 1.305 GB, free: 10.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.577e-05/0.9378, allocations: 93.16 kB / 1.305 GB, free: 10.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.9379, allocations: 72.38 kB / 1.305 GB, free: 10.84 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.938, allocations: 318.2 kB / 1.305 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.9382, allocations: 163.5 kB / 1.305 GB, free: 10.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.9385, allocations: 295.8 kB / 1.306 GB, free: 10.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.939, allocations: 427.8 kB / 1.306 GB, free: 10.33 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.939, allocations: 2.344 kB / 1.306 GB, free: 10.33 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006552/0.9396, allocations: 0.5562 MB / 1.307 GB, free: 10.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.9397, allocations: 11.62 kB / 1.307 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.9397, allocations: 2.656 kB / 1.307 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.9397, allocations: 2.531 kB / 1.307 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.9399, allocations: 65.92 kB / 1.307 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.9399, allocations: 2.875 kB / 1.307 GB, free: 10.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006272/0.9406, allocations: 110.1 kB / 1.307 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.9406, allocations: 28.88 kB / 1.307 GB, free: 10.14 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0003654/0.941, allocations: 377.9 kB / 1.307 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/0.9412, allocations: 136.2 kB / 1.307 GB, free: 9.953 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/0.9417, allocations: 377.1 kB / 1.308 GB, free: 9.875 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.9417, allocations: 7.203 kB / 1.308 GB, free: 9.871 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.9417, allocations: 2.875 kB / 1.308 GB, free: 9.871 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.9417, allocations: 11.22 kB / 1.308 GB, free: 9.863 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003218/0.9449, allocations: 2.599 MB / 1.31 GB, free: 8.871 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.9449, allocations: 10.97 kB / 1.31 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.9451, allocations: 53.95 kB / 1.31 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.9452, allocations: 8.344 kB / 1.31 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.9452, allocations: 15.81 kB / 1.31 GB, free: 8.859 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.9452, allocations: 7.719 kB / 1.31 GB, free: 8.859 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.9452, allocations: 13.3 kB / 1.31 GB, free: 8.859 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005851/0.9458, allocations: 0.6175 MB / 1.311 GB, free: 8.508 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.9462, allocations: 293.5 kB / 1.311 GB, free: 8.336 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.9464, allocations: 13.12 kB / 1.311 GB, free: 8.336 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/0.9468, allocations: 24.25 kB / 1.311 GB, free: 8.328 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.9468, allocations: 30.06 kB / 1.311 GB, free: 8.324 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.9468, allocations: 18.75 kB / 1.311 GB, free: 8.324 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001181/0.948, allocations: 1.207 MB / 1.312 GB, free: 8.211 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.894e-06/0.948, allocations: 0 / 1.312 GB, free: 8.211 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009919/0.949, allocations: 337.7 kB / 1.313 GB, free: 8.176 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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.002216/0.9513, allocations: 1.684 MB / 1.314 GB, free: 7.188 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000432/0.9517, allocations: 347 kB / 1.315 GB, free: 7.188 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.9517, allocations: 2.469 kB / 1.315 GB, free: 7.188 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.9519, allocations: 162.3 kB / 1.315 GB, free: 7.184 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003449/0.9553, allocations: 0.869 MB / 1.316 GB, free: 7.109 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.969, allocations: 11.65 MB / 1.327 GB, free: 2.734 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.9697, allocations: 1.197 MB / 1.328 GB, free: 2.02 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009788/0.9707, allocations: 306.8 kB / 1.329 GB, free: 1.953 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/0.9711, allocations: 462.8 kB / 1.329 GB, free: 1.941 MB / 1.014 GB Notification: Performance of SimCode: time 6.51e-07/0.9711, allocations: 0 / 1.329 GB, free: 1.941 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4023/1.373, allocations: 41.74 MB / 1.37 GB, free: 12.53 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/1.374, allocations: 255 kB / 1.37 GB, free: 12.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/4.032, allocations: 0 / 1.37 GB, free: 12.27 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches