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.0009042/0.0009042, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005598/0.005598, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.226/1.226, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.477/2.477, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003107, allocations: 12.97 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2415, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.6548/0.8963, allocations: 209.6 MB / 1.263 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.9064, allocations: 12.13 MB / 1.275 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006937/0.9071, allocations: 49.78 kB / 1.275 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008067/0.9079, allocations: 404.2 kB / 1.276 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.911, allocations: 1.761 MB / 1.277 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003195/0.9142, allocations: 1.735 MB / 1.279 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002875/0.9171, allocations: 3.071 MB / 1.282 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.9182, allocations: 0.9863 MB / 1.283 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009255/0.9192, allocations: 0.6886 MB / 1.284 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008536/0.92, allocations: 0.6567 MB / 1.284 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.9201, allocations: 40.25 kB / 1.284 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005027/0.9252, allocations: 3.52 MB / 1.288 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004152/0.9256, allocations: 487.3 kB / 1.288 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006775/0.9263, allocations: 0.6689 MB / 1.289 GB, free: 18.24 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003103/0.9294, allocations: 3.305 MB / 1.292 GB, free: 18.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.9294, allocations: 0 / 1.292 GB, free: 18.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9294, allocations: 0 / 1.292 GB, free: 18.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.378e-05/0.9294, allocations: 1.031 kB / 1.292 GB, free: 18.09 MB / 1.014 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.001524/0.931, allocations: 1.436 MB / 1.294 GB, free: 17.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.931, allocations: 17.66 kB / 1.294 GB, free: 17.2 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.9312, allocations: 165.7 kB / 1.294 GB, free: 17.15 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.9331, allocations: 373.2 kB / 1.294 GB, free: 17.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.9348, allocations: 0.8903 MB / 1.295 GB, free: 16.73 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-05/0.9349, allocations: 73.59 kB / 1.295 GB, free: 16.72 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/0.9351, allocations: 103.5 kB / 1.295 GB, free: 16.72 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/0.9379, allocations: 1.51 MB / 1.297 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.9379, allocations: 4.281 kB / 1.297 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.9381, allocations: 46.06 kB / 1.297 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/0.9382, allocations: 62.11 kB / 1.297 GB, free: 16.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.9402, allocations: 1.015 MB / 1.298 GB, free: 16.42 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.007424/0.9476, allocations: 5.889 MB / 1.304 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006933/0.9483, allocations: 317.7 kB / 1.304 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/0.9488, allocations: 247.1 kB / 1.304 GB, free: 12.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009015/0.9497, allocations: 0.7143 MB / 1.305 GB, free: 12.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.9497, allocations: 44.88 kB / 1.305 GB, free: 12.01 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.765e-06/0.9498, allocations: 0 / 1.305 GB, free: 12.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001788/0.9515, allocations: 0.676 MB / 1.306 GB, free: 11.89 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.795e-05/0.9516, allocations: 135.6 kB / 1.306 GB, free: 11.74 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/0.9544, allocations: 1.658 MB / 1.307 GB, free: 11.57 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.9545, allocations: 31.52 kB / 1.307 GB, free: 11.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005927/0.9551, allocations: 0.5511 MB / 1.308 GB, free: 11.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.9552, allocations: 97.78 kB / 1.308 GB, free: 11.37 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.9553, allocations: 28.23 kB / 1.308 GB, free: 11.35 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9554, allocations: 317.9 kB / 1.308 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.9558, allocations: 166.1 kB / 1.308 GB, free: 11.04 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/0.9562, allocations: 295.2 kB / 1.309 GB, free: 10.94 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007191/0.957, allocations: 428 kB / 1.309 GB, free: 10.84 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.957, allocations: 1.062 kB / 1.309 GB, free: 10.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001078/0.9581, allocations: 0.5681 MB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.9581, allocations: 9.328 kB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.9581, allocations: 2.812 kB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.9581, allocations: 6.766 kB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.9585, allocations: 54.36 kB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.9585, allocations: 8.594 kB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008259/0.9594, allocations: 117.6 kB / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.9594, allocations: 17.25 kB / 1.31 GB, free: 10.65 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.0005727/0.96, allocations: 377.7 kB / 1.31 GB, free: 10.54 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003133/0.9603, allocations: 144.8 kB / 1.31 GB, free: 10.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007755/0.9611, allocations: 379.5 kB / 1.311 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.9611, allocations: 11.5 kB / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.9612, allocations: 1.25 kB / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.9612, allocations: 1.062 kB / 1.311 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/0.9657, allocations: 2.56 MB / 1.313 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.9657, allocations: 6.594 kB / 1.313 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00029/0.966, allocations: 47 kB / 1.313 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.966, allocations: 8.219 kB / 1.313 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.966, allocations: 12 kB / 1.313 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.9661, allocations: 11.47 kB / 1.313 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/0.9661, allocations: 8.281 kB / 1.313 GB, free: 9.398 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009455/0.967, allocations: 0.6309 MB / 1.314 GB, free: 9.039 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000558/0.9676, allocations: 307.5 kB / 1.314 GB, free: 8.867 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/0.9679, allocations: 16.31 kB / 1.314 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006736/0.9686, allocations: 13.06 kB / 1.314 GB, free: 8.863 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.153e-05/0.9686, allocations: 44.86 kB / 1.314 GB, free: 8.852 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.9687, allocations: 17.53 kB / 1.314 GB, free: 8.852 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002/0.9707, allocations: 1.202 MB / 1.315 GB, free: 8.742 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9707, allocations: 3.312 kB / 1.315 GB, free: 8.742 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001398/0.9721, allocations: 336.7 kB / 1.316 GB, free: 8.707 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.003377/0.9755, allocations: 1.681 MB / 1.317 GB, free: 7.723 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006427/0.9762, allocations: 346.8 kB / 1.318 GB, free: 7.723 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.9762, allocations: 7.312 kB / 1.318 GB, free: 7.719 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.9765, allocations: 157 kB / 1.318 GB, free: 7.719 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00743/0.9839, allocations: 0.8775 MB / 1.319 GB, free: 7.637 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/0.998, allocations: 11.65 MB / 1.33 GB, free: 3.266 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.9987, allocations: 1.207 MB / 1.331 GB, free: 2.543 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007371/0.9994, allocations: 303.1 kB / 1.332 GB, free: 2.48 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003815/0.9998, allocations: 460.2 kB / 1.332 GB, free: 2.473 MB / 1.014 GB Notification: Performance of SimCode: time 2.71e-07/0.9998, allocations: 0 / 1.332 GB, free: 2.473 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.144/2.143, allocations: 41.41 MB / 1.373 GB, free: 14.65 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003022/2.144, allocations: 251.3 kB / 1.373 GB, free: 14.39 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.167/5.311, allocations: 0 / 1.373 GB, free: 14.39 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