Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 104.5 kB / 16.45 MB, free: 6.488 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.001821/0.001821, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.516/1.516, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.717/2.717, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] 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.BoundaryWithX_in,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 67.84 kB / 1.056 GB, free: 5.891 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9526/0.9548, allocations: 160.7 MB / 1.213 GB, free: 3.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2944/1.249, allocations: 214.8 MB / 1.423 GB, free: 0.625 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02537/1.275, allocations: 12.2 MB / 1.435 GB, free: 4.383 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/1.277, allocations: 43.69 kB / 1.435 GB, free: 4.34 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002128/1.279, allocations: 0.5197 MB / 1.435 GB, free: 3.816 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00619/1.285, allocations: 1.958 MB / 1.437 GB, free: 1.852 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00616/1.292, allocations: 1.936 MB / 1.439 GB, free: 15.92 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004253/1.296, allocations: 2.352 MB / 1.441 GB, free: 13.56 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/1.298, allocations: 0.9941 MB / 1.442 GB, free: 12.54 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/1.3, allocations: 0.8444 MB / 1.443 GB, free: 11.7 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/1.302, allocations: 0.704 MB / 1.444 GB, free: 10.99 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003477/1.302, allocations: 88 kB / 1.444 GB, free: 10.9 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006866/1.309, allocations: 2.85 MB / 1.447 GB, free: 8.047 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009103/1.31, allocations: 0.5492 MB / 1.447 GB, free: 7.496 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001656/1.311, allocations: 0.7425 MB / 1.448 GB, free: 6.75 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.007683/1.319, allocations: 3.119 MB / 1.451 GB, free: 3.621 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/1.319, allocations: 0 / 1.451 GB, free: 3.621 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.044e-06/1.319, allocations: 0 / 1.451 GB, free: 3.621 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001021/1.319, allocations: 0 / 1.451 GB, free: 3.621 MB / 1.154 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.004435/1.324, allocations: 1.785 MB / 1.453 GB, free: 1.777 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 7.855e-05/1.324, allocations: 8.625 kB / 1.453 GB, free: 1.77 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005757/1.324, allocations: 180.7 kB / 1.453 GB, free: 1.582 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/1.327, allocations: 390.5 kB / 1.453 GB, free: 1.199 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/1.33, allocations: 0.9666 MB / 1.454 GB, free: 196 kB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/1.33, allocations: 82.06 kB / 1.454 GB, free: 112 kB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002831/1.33, allocations: 100 kB / 1.454 GB, free: 12 kB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003637/1.334, allocations: 1.533 MB / 1.456 GB, free: 14.37 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.403e-05/1.334, allocations: 3.984 kB / 1.456 GB, free: 14.36 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/1.334, allocations: 51.94 kB / 1.456 GB, free: 14.31 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001435/1.334, allocations: 57.55 kB / 1.456 GB, free: 14.26 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002538/1.337, allocations: 1.025 MB / 1.457 GB, free: 13.23 MB / 1.17 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.01005/1.347, allocations: 5.862 MB / 1.463 GB, free: 7.062 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000801/1.348, allocations: 310.2 kB / 1.463 GB, free: 6.723 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003752/1.348, allocations: 239.3 kB / 1.463 GB, free: 6.477 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/1.349, allocations: 0.7078 MB / 1.464 GB, free: 5.621 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/1.349, allocations: 38.88 kB / 1.464 GB, free: 5.574 MB / 1.17 GB Notification: Performance of pre-optimization done (n=28): time 2.846e-06/1.349, allocations: 0 / 1.464 GB, free: 5.574 MB / 1.17 GB Notification: Performance of matching and sorting (n=28): time 0.001871/1.351, allocations: 0.676 MB / 1.465 GB, free: 4.891 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/1.351, allocations: 140.6 kB / 1.465 GB, free: 4.723 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002914/1.354, allocations: 1.678 MB / 1.466 GB, free: 3.035 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.317e-05/1.354, allocations: 33.7 kB / 1.466 GB, free: 2.996 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006508/1.355, allocations: 0.5662 MB / 1.467 GB, free: 2.426 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/1.355, allocations: 95.16 kB / 1.467 GB, free: 2.332 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/1.355, allocations: 65.69 kB / 1.467 GB, free: 2.262 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001872/1.355, allocations: 318 kB / 1.467 GB, free: 1.945 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/1.355, allocations: 163.9 kB / 1.468 GB, free: 1.785 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003979/1.356, allocations: 272.9 kB / 1.468 GB, free: 1.488 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005764/1.356, allocations: 400.3 kB / 1.468 GB, free: 1.066 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/1.356, allocations: 0 / 1.468 GB, free: 1.066 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001042/1.357, allocations: 0.5512 MB / 1.469 GB, free: 0.5078 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/1.357, allocations: 8 kB / 1.469 GB, free: 0.5 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.357, allocations: 3.984 kB / 1.469 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/1.358, allocations: 7.938 kB / 1.469 GB, free: 500 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/1.358, allocations: 55.92 kB / 1.469 GB, free: 444 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/1.358, allocations: 11.88 kB / 1.469 GB, free: 432 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/1.359, allocations: 115.7 kB / 1.469 GB, free: 316 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/1.359, allocations: 23.94 kB / 1.469 GB, free: 292 kB / 1.17 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.0007399/1.359, allocations: 382.4 kB / 1.469 GB, free: 15.9 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003999/1.36, allocations: 147.1 kB / 1.469 GB, free: 15.76 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008103/1.361, allocations: 389.1 kB / 1.47 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/1.361, allocations: 4 kB / 1.47 GB, free: 15.35 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/1.361, allocations: 3.938 kB / 1.47 GB, free: 15.35 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/1.361, allocations: 3.984 kB / 1.47 GB, free: 15.34 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/1.365, allocations: 2.521 MB / 1.472 GB, free: 12.64 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/1.365, allocations: 8 kB / 1.472 GB, free: 12.63 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/1.366, allocations: 51.91 kB / 1.472 GB, free: 12.58 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/1.366, allocations: 8 kB / 1.472 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.995e-05/1.366, allocations: 8 kB / 1.472 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/1.366, allocations: 12.5 kB / 1.472 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/1.366, allocations: 8 kB / 1.472 GB, free: 12.55 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009602/1.367, allocations: 0.6405 MB / 1.473 GB, free: 11.81 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007326/1.367, allocations: 304 kB / 1.473 GB, free: 11.49 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/1.368, allocations: 15.98 kB / 1.473 GB, free: 11.48 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/1.368, allocations: 12 kB / 1.473 GB, free: 11.46 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/1.368, allocations: 31.86 kB / 1.473 GB, free: 11.43 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.261e-05/1.368, allocations: 19.98 kB / 1.473 GB, free: 11.41 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00207/1.37, allocations: 1.223 MB / 1.475 GB, free: 10.2 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.37, allocations: 0 / 1.475 GB, free: 10.2 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001312/1.372, allocations: 339.2 kB / 1.475 GB, free: 9.863 MB / 1.186 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.003234/1.375, allocations: 1.663 MB / 1.477 GB, free: 8.105 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0007299/1.375, allocations: 355.4 kB / 1.477 GB, free: 7.758 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/1.375, allocations: 0 / 1.477 GB, free: 7.758 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/1.376, allocations: 153 kB / 1.477 GB, free: 7.609 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004403/1.38, allocations: 0.9237 MB / 1.478 GB, free: 6.711 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/1.405, allocations: 10.52 MB / 1.488 GB, free: 11.84 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.406, allocations: 1.204 MB / 1.489 GB, free: 10.61 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001654/1.408, allocations: 298.7 kB / 1.49 GB, free: 10.31 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009091/1.409, allocations: 459.3 kB / 1.49 GB, free: 9.863 MB / 1.201 GB Notification: Performance of SimCode: time 2.474e-06/1.409, allocations: 7.938 kB / 1.49 GB, free: 9.855 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1242/1.533, allocations: 44.19 MB / 1.533 GB, free: 14.01 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/12.51, allocations: 13.31 kB / 1.533 GB, free: 14 MB / 1.248 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_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: 18.681846830062568]