Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 222.5 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.353/1.353, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.935/2.935, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 68.23 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3154, allocations: 176.1 MB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.219/0.5344, allocations: 189.7 MB / 1.511 GB, free: 3.094 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.5499, allocations: 11.26 MB / 1.522 GB, free: 7.809 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.5512, allocations: 63.38 kB / 1.522 GB, free: 7.746 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.5525, allocations: 0.5275 MB / 1.523 GB, free: 7.215 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004469/0.557, allocations: 1.91 MB / 1.525 GB, free: 5.297 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00435/0.5613, allocations: 1.962 MB / 1.526 GB, free: 3.34 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002912/0.5642, allocations: 2.395 MB / 1.529 GB, free: 0.9336 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.5655, allocations: 0.858 MB / 1.53 GB, free: 52 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006644/0.5722, allocations: 3.158 MB / 1.533 GB, free: 12.88 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.5735, allocations: 0.6962 MB / 1.533 GB, free: 12.18 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.5736, allocations: 92 kB / 1.534 GB, free: 12.09 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004298/0.5779, allocations: 2.084 MB / 1.536 GB, free: 10 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.000691/0.5786, allocations: 0.557 MB / 1.536 GB, free: 9.445 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.0007651/0.5794, allocations: 0.5872 MB / 1.537 GB, free: 8.855 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.004411/0.5838, allocations: 3.084 MB / 1.54 GB, free: 5.762 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5838, allocations: 0 / 1.54 GB, free: 5.762 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5838, allocations: 0 / 1.54 GB, free: 5.762 MB / 1.233 GB Notification: Performance of Transformations before backend: time 2.402e-05/0.5838, allocations: 3.938 kB / 1.54 GB, free: 5.758 MB / 1.233 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.002356/0.5862, allocations: 1.717 MB / 1.541 GB, free: 4 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5862, allocations: 12.03 kB / 1.541 GB, free: 3.988 MB / 1.233 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002063/0.5864, allocations: 164.8 kB / 1.542 GB, free: 3.816 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.588, allocations: 386.7 kB / 1.542 GB, free: 3.438 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.5897, allocations: 0.8985 MB / 1.543 GB, free: 2.508 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.651e-05/0.5898, allocations: 82.05 kB / 1.543 GB, free: 2.426 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.5899, allocations: 100 kB / 1.543 GB, free: 2.328 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/0.5924, allocations: 1.981 MB / 1.545 GB, free: 132 kB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.5924, allocations: 0 / 1.545 GB, free: 132 kB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.874e-05/0.5925, allocations: 51.94 kB / 1.545 GB, free: 80 kB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.837e-05/0.5926, allocations: 69.56 kB / 1.545 GB, free: 12 kB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001465/0.594, allocations: 1.021 MB / 1.546 GB, free: 14.99 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.006037/0.6001, allocations: 4.917 MB / 1.551 GB, free: 9.926 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006016/0.6007, allocations: 306.1 kB / 1.551 GB, free: 9.59 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002972/0.601, allocations: 239.4 kB / 1.551 GB, free: 9.344 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004654/0.6014, allocations: 115.8 kB / 1.551 GB, free: 9.23 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.6015, allocations: 50.8 kB / 1.551 GB, free: 9.172 MB / 1.248 GB Notification: Performance of pre-optimization done (n=28): time 1.994e-06/0.6015, allocations: 0 / 1.551 GB, free: 9.172 MB / 1.248 GB Notification: Performance of matching and sorting (n=28): time 0.001337/0.6028, allocations: 0.68 MB / 1.552 GB, free: 8.484 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.086e-05/0.6029, allocations: 136.5 kB / 1.552 GB, free: 8.32 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.605, allocations: 1.678 MB / 1.554 GB, free: 6.633 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.6051, allocations: 29.7 kB / 1.554 GB, free: 6.598 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005649/0.6056, allocations: 0.5623 MB / 1.554 GB, free: 6.031 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 8.943e-05/0.6057, allocations: 111 kB / 1.555 GB, free: 5.922 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.6058, allocations: 61.7 kB / 1.555 GB, free: 5.855 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.606, allocations: 318 kB / 1.555 GB, free: 5.539 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.6062, allocations: 159.9 kB / 1.555 GB, free: 5.383 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/0.6067, allocations: 418.7 kB / 1.556 GB, free: 4.906 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005075/0.6072, allocations: 404.9 kB / 1.556 GB, free: 4.48 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6072, allocations: 3.938 kB / 1.556 GB, free: 4.477 MB / 1.248 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000784/0.608, allocations: 0.5551 MB / 1.556 GB, free: 3.914 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.608, allocations: 8.031 kB / 1.556 GB, free: 3.906 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.608, allocations: 7.984 kB / 1.556 GB, free: 3.898 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.608, allocations: 4 kB / 1.556 GB, free: 3.895 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.6083, allocations: 51.92 kB / 1.557 GB, free: 3.844 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.6083, allocations: 7.938 kB / 1.557 GB, free: 3.836 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/0.6088, allocations: 111 kB / 1.557 GB, free: 3.727 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.6088, allocations: 20 kB / 1.557 GB, free: 3.707 MB / 1.248 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.0004654/0.6093, allocations: 381.5 kB / 1.557 GB, free: 3.324 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.6095, allocations: 143.1 kB / 1.557 GB, free: 3.184 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006045/0.6101, allocations: 384.8 kB / 1.558 GB, free: 2.785 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6101, allocations: 4 kB / 1.558 GB, free: 2.781 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.6101, allocations: 4.031 kB / 1.558 GB, free: 2.777 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.6102, allocations: 7.969 kB / 1.558 GB, free: 2.77 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/0.6136, allocations: 2.241 MB / 1.56 GB, free: 400 kB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.974e-06/0.6136, allocations: 8.797 kB / 1.56 GB, free: 392 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.6138, allocations: 47.92 kB / 1.56 GB, free: 344 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.6138, allocations: 12 kB / 1.56 GB, free: 332 kB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.6138, allocations: 12 kB / 1.56 GB, free: 320 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.6138, allocations: 11.94 kB / 1.56 GB, free: 308 kB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.864e-06/0.6138, allocations: 11.94 kB / 1.56 GB, free: 296 kB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008067/0.6146, allocations: 0.6255 MB / 1.56 GB, free: 15.57 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005535/0.6152, allocations: 226.9 kB / 1.561 GB, free: 15.34 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/0.6154, allocations: 19.98 kB / 1.561 GB, free: 15.32 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.6157, allocations: 8 kB / 1.561 GB, free: 15.32 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.085e-05/0.6158, allocations: 43.78 kB / 1.561 GB, free: 15.27 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.6158, allocations: 16.06 kB / 1.561 GB, free: 15.26 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001612/0.6174, allocations: 1.231 MB / 1.562 GB, free: 14.03 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6174, allocations: 0 / 1.562 GB, free: 14.03 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001068/0.6185, allocations: 331.3 kB / 1.562 GB, free: 13.71 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.002392/0.6209, allocations: 1.655 MB / 1.564 GB, free: 11.95 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0005754/0.6215, allocations: 348 kB / 1.564 GB, free: 11.61 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6215, allocations: 0 / 1.564 GB, free: 11.61 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.6217, allocations: 157.6 kB / 1.564 GB, free: 11.45 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003637/0.6253, allocations: 0.9182 MB / 1.565 GB, free: 10.56 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/0.6391, allocations: 10.52 MB / 1.576 GB, free: 15.69 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007036/0.6398, allocations: 0.6109 MB / 1.576 GB, free: 15.05 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009011/0.6407, allocations: 290.8 kB / 1.576 GB, free: 14.76 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000578/0.6413, allocations: 467.3 kB / 1.577 GB, free: 14.3 MB / 1.279 GB Notification: Performance of SimCode: time 8.81e-07/0.6413, allocations: 0 / 1.577 GB, free: 14.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6571/1.298, allocations: 48.3 MB / 1.624 GB, free: 266.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/13.17, allocations: 6.109 kB / 1.624 GB, free: 266.6 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.310056486021494]