Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_9_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.007717/0.007717, allocations: 103.3 kB / 15.73 MB, free: 6.047 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.001865/0.001865, allocations: 189 kB / 16.67 MB, free: 5.969 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.88 kB / 0.9504 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8678/0.8693, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2569/1.126, allocations: 214.1 MB / 1.297 GB, free: 7.586 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01823/1.144, allocations: 12.16 MB / 1.308 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/1.147, allocations: 43.69 kB / 1.308 GB, free: 11.34 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/1.148, allocations: 0.5002 MB / 1.309 GB, free: 10.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005464/1.154, allocations: 1.886 MB / 1.311 GB, free: 8.945 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005351/1.159, allocations: 1.906 MB / 1.313 GB, free: 7.047 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003463/1.163, allocations: 2.375 MB / 1.315 GB, free: 4.66 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001997/1.165, allocations: 1.197 MB / 1.316 GB, free: 3.445 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00174/1.167, allocations: 0.8444 MB / 1.317 GB, free: 2.598 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00117/1.168, allocations: 0.6534 MB / 1.318 GB, free: 1.941 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002657/1.168, allocations: 92 kB / 1.318 GB, free: 1.852 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005632/1.174, allocations: 2.696 MB / 1.32 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006654/1.174, allocations: 0.5453 MB / 1.321 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/1.176, allocations: 0.7231 MB / 1.322 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005296/1.181, allocations: 3.089 MB / 1.325 GB, free: 10.78 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.181, allocations: 0 / 1.325 GB, free: 10.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.833e-06/1.181, allocations: 0 / 1.325 GB, free: 10.78 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.061e-05/1.181, allocations: 3.938 kB / 1.325 GB, free: 10.77 MB / 1.061 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.003357/1.184, allocations: 1.734 MB / 1.326 GB, free: 8.984 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.184, allocations: 8.031 kB / 1.326 GB, free: 8.977 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002791/1.185, allocations: 168.6 kB / 1.326 GB, free: 8.801 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00174/1.186, allocations: 369.8 kB / 1.327 GB, free: 8.438 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/1.188, allocations: 0.958 MB / 1.328 GB, free: 7.434 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.213e-05/1.188, allocations: 74.03 kB / 1.328 GB, free: 7.359 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/1.189, allocations: 104 kB / 1.328 GB, free: 7.258 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/1.191, allocations: 1.513 MB / 1.329 GB, free: 5.637 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/1.191, allocations: 0 / 1.329 GB, free: 5.637 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-05/1.191, allocations: 47.94 kB / 1.329 GB, free: 5.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.519e-05/1.191, allocations: 65.55 kB / 1.329 GB, free: 5.523 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00146/1.192, allocations: 1.013 MB / 1.33 GB, free: 4.512 MB / 1.061 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.006498/1.199, allocations: 5.816 MB / 1.336 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/1.2, allocations: 330.1 kB / 1.336 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/1.2, allocations: 247.4 kB / 1.337 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009342/1.201, allocations: 0.7078 MB / 1.337 GB, free: 12.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.956e-05/1.201, allocations: 46.5 kB / 1.337 GB, free: 12.86 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 3.055e-06/1.201, allocations: 0 / 1.337 GB, free: 12.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001678/1.203, allocations: 0.6638 MB / 1.338 GB, free: 12.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/1.203, allocations: 132.5 kB / 1.338 GB, free: 12.02 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/1.206, allocations: 1.658 MB / 1.34 GB, free: 10.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.057e-05/1.206, allocations: 37.83 kB / 1.34 GB, free: 10.31 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/1.206, allocations: 0.5502 MB / 1.34 GB, free: 9.758 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.311e-05/1.206, allocations: 94.64 kB / 1.34 GB, free: 9.664 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/1.206, allocations: 65.61 kB / 1.341 GB, free: 9.594 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.207, allocations: 325.9 kB / 1.341 GB, free: 9.27 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/1.207, allocations: 159.9 kB / 1.341 GB, free: 9.113 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/1.207, allocations: 294.1 kB / 1.341 GB, free: 8.789 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005638/1.208, allocations: 425.9 kB / 1.342 GB, free: 8.336 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.208, allocations: 0 / 1.342 GB, free: 8.336 MB / 1.076 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009177/1.209, allocations: 0.5628 MB / 1.342 GB, free: 7.766 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.209, allocations: 4 kB / 1.342 GB, free: 7.762 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/1.209, allocations: 4 kB / 1.342 GB, free: 7.758 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/1.209, allocations: 4 kB / 1.342 GB, free: 7.754 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002494/1.209, allocations: 63.91 kB / 1.342 GB, free: 7.691 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/1.209, allocations: 7.938 kB / 1.342 GB, free: 7.684 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006403/1.21, allocations: 110.5 kB / 1.342 GB, free: 7.574 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/1.21, allocations: 16.08 kB / 1.342 GB, free: 7.559 MB / 1.076 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.0005372/1.21, allocations: 385.7 kB / 1.343 GB, free: 7.172 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003056/1.211, allocations: 142.2 kB / 1.343 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006774/1.211, allocations: 376.7 kB / 1.343 GB, free: 6.637 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/1.211, allocations: 4 kB / 1.343 GB, free: 6.633 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.211, allocations: 0 / 1.343 GB, free: 6.633 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.211, allocations: 4 kB / 1.343 GB, free: 6.629 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004044/1.215, allocations: 2.513 MB / 1.346 GB, free: 3.934 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/1.215, allocations: 4 kB / 1.346 GB, free: 3.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/1.216, allocations: 59.89 kB / 1.346 GB, free: 3.871 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-05/1.216, allocations: 11.94 kB / 1.346 GB, free: 3.859 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/1.216, allocations: 12 kB / 1.346 GB, free: 3.848 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/1.216, allocations: 12.56 kB / 1.346 GB, free: 3.836 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/1.216, allocations: 12 kB / 1.346 GB, free: 3.824 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007936/1.216, allocations: 0.6221 MB / 1.346 GB, free: 3.102 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006303/1.217, allocations: 291.2 kB / 1.347 GB, free: 2.797 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/1.217, allocations: 15.98 kB / 1.347 GB, free: 2.781 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/1.218, allocations: 12 kB / 1.347 GB, free: 2.77 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/1.218, allocations: 31.92 kB / 1.347 GB, free: 2.738 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/1.218, allocations: 23.98 kB / 1.347 GB, free: 2.715 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001954/1.22, allocations: 1.207 MB / 1.348 GB, free: 1.512 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.22, allocations: 0 / 1.348 GB, free: 1.512 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001319/1.221, allocations: 327.8 kB / 1.348 GB, free: 1.191 MB / 1.076 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.002772/1.224, allocations: 1.658 MB / 1.35 GB, free: 15.44 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00063/1.225, allocations: 367.5 kB / 1.35 GB, free: 15.08 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.225, allocations: 3.938 kB / 1.35 GB, free: 15.07 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/1.225, allocations: 161.5 kB / 1.35 GB, free: 14.92 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00406/1.229, allocations: 0.9239 MB / 1.351 GB, free: 14.02 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01672/1.246, allocations: 10.37 MB / 1.361 GB, free: 3.297 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/1.247, allocations: 1.197 MB / 1.363 GB, free: 2.07 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001094/1.248, allocations: 298.7 kB / 1.363 GB, free: 1.773 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006152/1.249, allocations: 463.3 kB / 1.363 GB, free: 1.324 MB / 1.092 GB Notification: Performance of SimCode: time 1.002e-06/1.249, allocations: 0 / 1.363 GB, free: 1.324 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08511/1.334, allocations: 44.31 MB / 1.407 GB, free: 5.5 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/12.12, allocations: 0 / 1.407 GB, free: 5.5 MB / 1.139 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches