Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_10_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.001481/0.001481, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001806/0.001806, allocations: 193.8 kB / 16.25 MB, free: 6.629 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.311/1.311, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.445/2.445, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.09 kB / 0.8688 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5193/0.5205, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.1847/0.7053, allocations: 211.9 MB / 1.224 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01217/0.7175, allocations: 12.18 MB / 1.236 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009695/0.7185, allocations: 51.56 kB / 1.236 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001011/0.7195, allocations: 429.4 kB / 1.236 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003574/0.7231, allocations: 1.774 MB / 1.238 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003552/0.7267, allocations: 1.775 MB / 1.24 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001993/0.7287, allocations: 2.383 MB / 1.242 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.7298, allocations: 1.142 MB / 1.243 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009117/0.7307, allocations: 0.8483 MB / 1.244 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006369/0.7314, allocations: 0.7159 MB / 1.245 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.7315, allocations: 88 kB / 1.245 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004078/0.7356, allocations: 3.25 MB / 1.248 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003849/0.736, allocations: 0.5454 MB / 1.248 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005452/0.7365, allocations: 0.727 MB / 1.249 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003199/0.7397, allocations: 3.377 MB / 1.252 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.7397, allocations: 0 / 1.252 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7398, allocations: 4 kB / 1.252 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.7398, allocations: 0 / 1.252 GB, free: 0.7734 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.4177/1.157, allocations: 1.725 MB / 1.254 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/1.158, allocations: 8.906 kB / 1.254 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001638/1.158, allocations: 164.9 kB / 1.254 GB, free: 236.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/1.159, allocations: 376.4 kB / 1.255 GB, free: 236.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/1.16, allocations: 0.8882 MB / 1.256 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/1.16, allocations: 78.28 kB / 1.256 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/1.161, allocations: 102 kB / 1.256 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/1.162, allocations: 1.506 MB / 1.257 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/1.163, allocations: 5.562 kB / 1.257 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.384e-05/1.163, allocations: 48.81 kB / 1.257 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.405e-05/1.163, allocations: 62.03 kB / 1.257 GB, free: 234.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/1.164, allocations: 1.014 MB / 1.258 GB, free: 234.5 MB / 0.9981 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.004905/1.169, allocations: 5.932 MB / 1.264 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005017/1.169, allocations: 321.7 kB / 1.264 GB, free: 230 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/1.17, allocations: 246.7 kB / 1.265 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004695/1.17, allocations: 0.7063 MB / 1.265 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/1.17, allocations: 48.73 kB / 1.265 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/1.17, allocations: 0 / 1.265 GB, free: 229.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28): time 0.001161/1.171, allocations: 0.6603 MB / 1.266 GB, free: 228.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/1.171, allocations: 137.4 kB / 1.266 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/1.173, allocations: 1.659 MB / 1.268 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/1.174, allocations: 31.86 kB / 1.268 GB, free: 228 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/1.174, allocations: 0.5583 MB / 1.268 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/1.174, allocations: 90.39 kB / 1.268 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/1.174, allocations: 68.78 kB / 1.268 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.976e-05/1.174, allocations: 325.3 kB / 1.269 GB, free: 227.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/1.174, allocations: 156.7 kB / 1.269 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/1.175, allocations: 292.5 kB / 1.269 GB, free: 227 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/1.175, allocations: 433.5 kB / 1.27 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.175, allocations: 1 kB / 1.27 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006834/1.176, allocations: 0.5606 MB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.176, allocations: 6.469 kB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.176, allocations: 2.625 kB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/1.176, allocations: 8.453 kB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/1.176, allocations: 59.2 kB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.176, allocations: 9.062 kB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/1.177, allocations: 121.1 kB / 1.27 GB, free: 226.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/1.177, allocations: 19.45 kB / 1.27 GB, free: 226.4 MB / 0.9981 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.000335/1.177, allocations: 373.3 kB / 1.271 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/1.177, allocations: 135.1 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/1.178, allocations: 385.4 kB / 1.271 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/1.178, allocations: 3.844 kB / 1.271 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.178, allocations: 1.406 kB / 1.271 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.178, allocations: 11.45 kB / 1.271 GB, free: 225.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/1.181, allocations: 2.598 MB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.181, allocations: 6.453 kB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/1.181, allocations: 56.41 kB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/1.181, allocations: 7.125 kB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/1.181, allocations: 13.47 kB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.836e-06/1.181, allocations: 17.2 kB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.181, allocations: 6.281 kB / 1.274 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/1.181, allocations: 0.6324 MB / 1.275 GB, free: 223.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/1.182, allocations: 292.2 kB / 1.275 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/1.182, allocations: 15.17 kB / 1.275 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/1.182, allocations: 21.66 kB / 1.275 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/1.182, allocations: 36.77 kB / 1.275 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/1.182, allocations: 15.16 kB / 1.275 GB, free: 223.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001229/1.184, allocations: 1.209 MB / 1.276 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.71e-07/1.184, allocations: 0 / 1.276 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008144/1.184, allocations: 341.6 kB / 1.276 GB, free: 223.2 MB / 0.9981 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.001975/1.186, allocations: 1.665 MB / 1.278 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000449/1.187, allocations: 363.8 kB / 1.278 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.187, allocations: 0 / 1.278 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/1.187, allocations: 166.1 kB / 1.279 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/1.19, allocations: 0.9257 MB / 1.279 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.201, allocations: 11.64 MB / 1.291 GB, free: 213.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/1.202, allocations: 1.212 MB / 1.292 GB, free: 212.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008418/1.203, allocations: 294.7 kB / 1.292 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/1.203, allocations: 455.3 kB / 1.293 GB, free: 211.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/1.203, allocations: 0 / 1.293 GB, free: 211.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.096/3.299, allocations: 42.65 MB / 1.334 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/3.299, allocations: 245.3 kB / 1.335 GB, free: 169.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.243/6.542, allocations: 0 / 1.335 GB, free: 169.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches