Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_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.0007464/0.0007464, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004466/0.004466, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.238/1.238, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.598/2.598, allocations: 443.4 MB / 0.7176 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003169, allocations: 12.38 kB / 0.8797 GB, free: 41.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2338, allocations: 155.2 MB / 1.031 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.1972/0.4311, allocations: 209.6 MB / 1.236 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01352/0.4446, allocations: 12.14 MB / 1.248 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.4458, allocations: 47.56 kB / 1.248 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.4468, allocations: 405.3 kB / 1.248 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003837/0.4507, allocations: 1.758 MB / 1.25 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003685/0.4544, allocations: 1.735 MB / 1.252 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5066/0.9609, allocations: 3.035 MB / 1.255 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.9623, allocations: 1.017 MB / 1.256 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.9633, allocations: 0.6813 MB / 1.256 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006984/0.964, allocations: 0.6535 MB / 1.257 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.446e-05/0.9641, allocations: 42.47 kB / 1.257 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00609/0.9702, allocations: 3.51 MB / 1.26 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005655/0.9708, allocations: 488.4 kB / 1.261 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007733/0.9716, allocations: 0.6793 MB / 1.262 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005325/0.9769, allocations: 3.32 MB / 1.265 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.9769, allocations: 0 / 1.265 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9769, allocations: 1 kB / 1.265 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.493e-05/0.977, allocations: 0 / 1.265 GB, free: 4.168 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002458/0.9794, allocations: 1.449 MB / 1.266 GB, free: 19.35 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.9795, allocations: 9.062 kB / 1.266 GB, free: 19.35 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002355/0.9797, allocations: 169.4 kB / 1.266 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.9814, allocations: 370.6 kB / 1.267 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.9828, allocations: 0.9059 MB / 1.268 GB, free: 18.87 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.711e-05/0.9829, allocations: 77.44 kB / 1.268 GB, free: 18.87 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.9831, allocations: 101.1 kB / 1.268 GB, free: 18.87 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.9857, allocations: 1.529 MB / 1.269 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.9858, allocations: 4.562 kB / 1.269 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.9859, allocations: 48.5 kB / 1.269 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.329e-05/0.986, allocations: 63.08 kB / 1.269 GB, free: 18.57 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.9874, allocations: 1.029 MB / 1.27 GB, free: 18.56 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.005688/0.9931, allocations: 5.915 MB / 1.276 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.9936, allocations: 315.5 kB / 1.276 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002675/0.9939, allocations: 253.7 kB / 1.277 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006685/0.9945, allocations: 0.7103 MB / 1.277 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.9946, allocations: 44.8 kB / 1.277 GB, free: 14.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.014e-06/0.9946, allocations: 0 / 1.277 GB, free: 14.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001184/0.9958, allocations: 0.6635 MB / 1.278 GB, free: 14.05 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.9959, allocations: 134.9 kB / 1.278 GB, free: 13.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.9978, allocations: 1.69 MB / 1.28 GB, free: 13.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.9978, allocations: 32.11 kB / 1.28 GB, free: 13.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/0.9982, allocations: 0.558 MB / 1.28 GB, free: 13.59 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.9983, allocations: 96.64 kB / 1.281 GB, free: 13.53 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.9983, allocations: 28.02 kB / 1.281 GB, free: 13.52 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.351e-05/0.9984, allocations: 320.2 kB / 1.281 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.9986, allocations: 156.6 kB / 1.281 GB, free: 13.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.9989, allocations: 268.5 kB / 1.281 GB, free: 13.12 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.9993, allocations: 410.6 kB / 1.282 GB, free: 13.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.9994, allocations: 1.094 kB / 1.282 GB, free: 13.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006744/1, allocations: 0.5418 MB / 1.282 GB, free: 12.94 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/1, allocations: 6.062 kB / 1.282 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/1, allocations: 2.438 kB / 1.282 GB, free: 12.94 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/1, allocations: 7.781 kB / 1.282 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/1, allocations: 59.5 kB / 1.282 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/1, allocations: 8.906 kB / 1.282 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006172/1.001, allocations: 115.5 kB / 1.282 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/1.001, allocations: 20.05 kB / 1.282 GB, free: 12.86 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0004094/1.001, allocations: 385.9 kB / 1.283 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002075/1.002, allocations: 145.6 kB / 1.283 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005339/1.002, allocations: 382.2 kB / 1.283 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/1.002, allocations: 2.875 kB / 1.283 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.002, allocations: 7.219 kB / 1.283 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.002, allocations: 1.25 kB / 1.283 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00301/1.005, allocations: 2.563 MB / 1.286 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.005, allocations: 7.312 kB / 1.286 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/1.005, allocations: 55.12 kB / 1.286 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/1.005, allocations: 11.5 kB / 1.286 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/1.005, allocations: 12.22 kB / 1.286 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/1.005, allocations: 17.36 kB / 1.286 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/1.006, allocations: 9.188 kB / 1.286 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/1.006, allocations: 0.6143 MB / 1.286 GB, free: 11.24 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003736/1.006, allocations: 305.4 kB / 1.287 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/1.007, allocations: 19.58 kB / 1.287 GB, free: 11.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/1.007, allocations: 19.72 kB / 1.287 GB, free: 11.06 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/1.007, allocations: 47.83 kB / 1.287 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/1.007, allocations: 13.5 kB / 1.287 GB, free: 11.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001297/1.008, allocations: 1.227 MB / 1.288 GB, free: 10.94 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.008, allocations: 0 / 1.288 GB, free: 10.94 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001189/1.01, allocations: 343.1 kB / 1.288 GB, free: 10.9 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.002325/1.012, allocations: 1.677 MB / 1.29 GB, free: 9.926 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004663/1.012, allocations: 337.1 kB / 1.29 GB, free: 9.926 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.012, allocations: 1.375 kB / 1.29 GB, free: 9.926 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/1.013, allocations: 164.1 kB / 1.29 GB, free: 9.922 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004971/1.018, allocations: 0.8696 MB / 1.291 GB, free: 9.848 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/1.032, allocations: 11.81 MB / 1.303 GB, free: 5.508 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/1.033, allocations: 1.212 MB / 1.304 GB, free: 4.789 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001033/1.034, allocations: 296.5 kB / 1.304 GB, free: 4.734 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000438/1.035, allocations: 463.2 kB / 1.305 GB, free: 4.727 MB / 1.014 GB Notification: Performance of SimCode: time 1.764e-06/1.035, allocations: 0 / 1.305 GB, free: 4.727 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2926/1.327, allocations: 41.64 MB / 1.345 GB, free: 7.641 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002966/1.328, allocations: 242.3 kB / 1.346 GB, free: 7.391 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/4.286, allocations: 0 / 1.346 GB, free: 7.391 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches