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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 109.4 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.125/3.125, allocations: 497.2 MB / 0.7811 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.81 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.305, allocations: 173.9 MB / 1.304 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2745/0.5795, allocations: 214.9 MB / 1.514 GB, free: 9.93 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01965/0.5992, allocations: 12.22 MB / 1.526 GB, free: 13.68 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001932/0.6011, allocations: 43.69 kB / 1.526 GB, free: 13.64 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.6027, allocations: 0.5118 MB / 1.526 GB, free: 13.12 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005872/0.6086, allocations: 1.96 MB / 1.528 GB, free: 11.16 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.005338/0.6139, allocations: 1.938 MB / 1.53 GB, free: 9.223 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.004114/0.618, allocations: 2.364 MB / 1.532 GB, free: 6.852 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.6198, allocations: 0.9743 MB / 1.533 GB, free: 5.855 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007348/0.6272, allocations: 3.018 MB / 1.536 GB, free: 2.828 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.6285, allocations: 0.6923 MB / 1.537 GB, free: 2.133 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.6286, allocations: 88 kB / 1.537 GB, free: 2.047 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00579/0.6344, allocations: 2.626 MB / 1.54 GB, free: 15.42 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0006809/0.6351, allocations: 0.5414 MB / 1.54 GB, free: 14.88 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0009911/0.6361, allocations: 0.7309 MB / 1.541 GB, free: 14.14 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006133/0.6422, allocations: 3.099 MB / 1.544 GB, free: 11.03 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6423, allocations: 4 kB / 1.544 GB, free: 11.03 MB / 1.248 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6423, allocations: 0 / 1.544 GB, free: 11.03 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.285e-05/0.6423, allocations: 0 / 1.544 GB, free: 11.03 MB / 1.248 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.003086/0.6454, allocations: 1.781 MB / 1.546 GB, free: 9.188 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.6454, allocations: 8.625 kB / 1.546 GB, free: 9.18 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002238/0.6456, allocations: 168.6 kB / 1.546 GB, free: 9.004 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.6474, allocations: 386.6 kB / 1.546 GB, free: 8.625 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.6493, allocations: 0.9628 MB / 1.547 GB, free: 7.621 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.303e-05/0.6494, allocations: 78.03 kB / 1.547 GB, free: 7.543 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.6496, allocations: 100 kB / 1.547 GB, free: 7.445 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.6518, allocations: 1.517 MB / 1.549 GB, free: 5.812 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.6519, allocations: 4 kB / 1.549 GB, free: 5.809 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.874e-05/0.652, allocations: 51.94 kB / 1.549 GB, free: 5.758 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-05/0.652, allocations: 57.48 kB / 1.549 GB, free: 5.703 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.6536, allocations: 1.021 MB / 1.55 GB, free: 4.68 MB / 1.248 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.007276/0.6609, allocations: 5.834 MB / 1.556 GB, free: 14.54 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006215/0.6615, allocations: 310.2 kB / 1.556 GB, free: 14.2 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003117/0.6618, allocations: 239.4 kB / 1.556 GB, free: 13.95 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008689/0.6627, allocations: 0.7038 MB / 1.557 GB, free: 13.1 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.6627, allocations: 46.55 kB / 1.557 GB, free: 13.04 MB / 1.264 GB Notification: Performance of pre-optimization done (n=28): time 2.384e-06/0.6627, allocations: 0 / 1.557 GB, free: 13.04 MB / 1.264 GB Notification: Performance of matching and sorting (n=28): time 0.001474/0.6642, allocations: 0.6763 MB / 1.557 GB, free: 12.36 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.6643, allocations: 136.6 kB / 1.558 GB, free: 12.2 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.6664, allocations: 1.654 MB / 1.559 GB, free: 10.53 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.6665, allocations: 33.7 kB / 1.559 GB, free: 10.49 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005483/0.667, allocations: 0.5542 MB / 1.56 GB, free: 9.934 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 8.445e-05/0.6671, allocations: 99.16 kB / 1.56 GB, free: 9.836 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.6672, allocations: 73.64 kB / 1.56 GB, free: 9.758 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6674, allocations: 317.9 kB / 1.56 GB, free: 9.441 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.6676, allocations: 163.9 kB / 1.56 GB, free: 9.281 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003504/0.668, allocations: 286.1 kB / 1.561 GB, free: 8.965 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.6685, allocations: 426 kB / 1.561 GB, free: 8.512 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6685, allocations: 0 / 1.561 GB, free: 8.512 MB / 1.264 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008444/0.6693, allocations: 0.5712 MB / 1.562 GB, free: 7.934 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.6694, allocations: 8 kB / 1.562 GB, free: 7.926 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.6694, allocations: 0 / 1.562 GB, free: 7.926 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.6694, allocations: 11.94 kB / 1.562 GB, free: 7.914 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.6696, allocations: 55.91 kB / 1.562 GB, free: 7.859 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.6696, allocations: 12.03 kB / 1.562 GB, free: 7.848 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005273/0.6702, allocations: 115.2 kB / 1.562 GB, free: 7.734 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.6702, allocations: 27.98 kB / 1.562 GB, free: 7.707 MB / 1.264 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.000479/0.6707, allocations: 377.6 kB / 1.562 GB, free: 7.328 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.6709, allocations: 143.1 kB / 1.562 GB, free: 7.188 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006101/0.6715, allocations: 385.1 kB / 1.563 GB, free: 6.789 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6716, allocations: 0 / 1.563 GB, free: 6.789 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.6716, allocations: 4 kB / 1.563 GB, free: 6.785 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.6716, allocations: 4 kB / 1.563 GB, free: 6.781 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003604/0.6752, allocations: 2.509 MB / 1.565 GB, free: 4.09 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.6752, allocations: 4 kB / 1.565 GB, free: 4.086 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.6754, allocations: 52.8 kB / 1.565 GB, free: 4.035 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.576e-05/0.6754, allocations: 11.94 kB / 1.565 GB, free: 4.023 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.6754, allocations: 16 kB / 1.565 GB, free: 4.008 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.324e-05/0.6754, allocations: 15.92 kB / 1.565 GB, free: 3.992 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.6754, allocations: 8 kB / 1.565 GB, free: 3.984 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007617/0.6762, allocations: 0.6191 MB / 1.566 GB, free: 3.266 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.6768, allocations: 308 kB / 1.566 GB, free: 2.945 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.6769, allocations: 11.94 kB / 1.566 GB, free: 2.934 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.6772, allocations: 12 kB / 1.566 GB, free: 2.922 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.6773, allocations: 35.94 kB / 1.566 GB, free: 2.887 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/0.6773, allocations: 27.92 kB / 1.566 GB, free: 2.859 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001593/0.6789, allocations: 1.207 MB / 1.567 GB, free: 1.656 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.6789, allocations: 0 / 1.567 GB, free: 1.656 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001001/0.6799, allocations: 327.4 kB / 1.568 GB, free: 1.336 MB / 1.264 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.002464/0.6824, allocations: 1.685 MB / 1.569 GB, free: 15.56 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0006091/0.683, allocations: 347.5 kB / 1.57 GB, free: 15.22 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/0.683, allocations: 4 kB / 1.57 GB, free: 15.21 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.6832, allocations: 161.2 kB / 1.57 GB, free: 15.06 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/0.6869, allocations: 0.9209 MB / 1.571 GB, free: 14.17 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/0.7016, allocations: 10.42 MB / 1.581 GB, free: 3.391 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009763/0.7026, allocations: 1.197 MB / 1.582 GB, free: 2.164 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001035/0.7036, allocations: 298.7 kB / 1.582 GB, free: 1.867 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/0.7042, allocations: 459.2 kB / 1.583 GB, free: 1.418 MB / 1.279 GB Notification: Performance of SimCode: time 1.192e-06/0.7042, allocations: 0 / 1.583 GB, free: 1.418 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7373/1.442, allocations: 43.96 MB / 1.626 GB, free: 308.3 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/12.45, allocations: 16.55 kB / 1.626 GB, free: 308.3 MB / 1.311 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.05134625500068]