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.001871/0.001871, allocations: 107 kB / 16.46 MB, free: 6.508 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.00195/0.00195, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.382/1.382, allocations: 230.6 MB / 252.8 MB, free: 9.117 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 3.051/3.051, allocations: 0.49 GB / 0.7916 GB, free: 33.4 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.001976/0.001976, allocations: 71.98 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3338, allocations: 176.1 MB / 1.321 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2618/0.5956, allocations: 217.9 MB / 1.534 GB, free: 8.664 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01837/0.614, allocations: 12.2 MB / 1.545 GB, free: 12.43 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00196/0.6159, allocations: 63.38 kB / 1.546 GB, free: 12.37 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/0.6176, allocations: 0.5275 MB / 1.546 GB, free: 11.84 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.006015/0.6236, allocations: 1.96 MB / 1.548 GB, free: 9.871 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005274/0.6289, allocations: 1.947 MB / 1.55 GB, free: 7.93 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003967/0.6328, allocations: 2.336 MB / 1.552 GB, free: 5.582 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00177/0.6346, allocations: 1.006 MB / 1.553 GB, free: 4.555 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006781/0.6414, allocations: 3.1 MB / 1.556 GB, free: 1.445 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001206/0.6426, allocations: 0.6963 MB / 1.557 GB, free: 0.7461 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.6428, allocations: 88 kB / 1.557 GB, free: 0.6602 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005074/0.6478, allocations: 2.627 MB / 1.559 GB, free: 14.03 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0006861/0.6485, allocations: 0.5569 MB / 1.56 GB, free: 13.47 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0008642/0.6494, allocations: 0.727 MB / 1.561 GB, free: 12.74 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.004814/0.6542, allocations: 3.134 MB / 1.564 GB, free: 9.594 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6542, allocations: 0 / 1.564 GB, free: 9.594 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6542, allocations: 0 / 1.564 GB, free: 9.594 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.198e-05/0.6542, allocations: 0 / 1.564 GB, free: 9.594 MB / 1.264 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.002616/0.6568, allocations: 1.789 MB / 1.566 GB, free: 7.746 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.6569, allocations: 15.98 kB / 1.566 GB, free: 7.73 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002197/0.6571, allocations: 176.7 kB / 1.566 GB, free: 7.547 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/0.6589, allocations: 382.7 kB / 1.566 GB, free: 7.172 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.6604, allocations: 0.9628 MB / 1.567 GB, free: 6.168 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.655e-05/0.6605, allocations: 82.06 kB / 1.567 GB, free: 6.086 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.6606, allocations: 100 kB / 1.567 GB, free: 5.988 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.6629, allocations: 1.533 MB / 1.569 GB, free: 4.344 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.6629, allocations: 7.938 kB / 1.569 GB, free: 4.336 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.663, allocations: 47.94 kB / 1.569 GB, free: 4.289 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.531e-05/0.6631, allocations: 57.55 kB / 1.569 GB, free: 4.234 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.6646, allocations: 1.021 MB / 1.57 GB, free: 3.211 MB / 1.264 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.006709/0.6713, allocations: 5.877 MB / 1.576 GB, free: 13.03 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006387/0.672, allocations: 314.3 kB / 1.576 GB, free: 12.68 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.6723, allocations: 231.3 kB / 1.576 GB, free: 12.45 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008585/0.6731, allocations: 0.712 MB / 1.577 GB, free: 11.59 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.6732, allocations: 38.5 kB / 1.577 GB, free: 11.54 MB / 1.279 GB Notification: Performance of pre-optimization done (n=28): time 2.615e-06/0.6732, allocations: 0 / 1.577 GB, free: 11.54 MB / 1.279 GB Notification: Performance of matching and sorting (n=28): time 0.001441/0.6746, allocations: 0.6761 MB / 1.577 GB, free: 10.86 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.667e-05/0.6747, allocations: 144.4 kB / 1.578 GB, free: 10.68 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.6769, allocations: 1.678 MB / 1.579 GB, free: 8.996 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.688e-05/0.677, allocations: 33.7 kB / 1.579 GB, free: 8.957 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005515/0.6775, allocations: 0.5584 MB / 1.58 GB, free: 8.395 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.6776, allocations: 103.1 kB / 1.58 GB, free: 8.293 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.6777, allocations: 65.69 kB / 1.58 GB, free: 8.223 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6779, allocations: 314 kB / 1.58 GB, free: 7.91 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.6781, allocations: 163.9 kB / 1.58 GB, free: 7.75 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.6785, allocations: 260.5 kB / 1.581 GB, free: 7.465 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005598/0.679, allocations: 416.8 kB / 1.581 GB, free: 7.027 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.679, allocations: 0 / 1.581 GB, free: 7.027 MB / 1.279 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008951/0.6799, allocations: 0.5511 MB / 1.582 GB, free: 6.469 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.68, allocations: 4 kB / 1.582 GB, free: 6.465 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.68, allocations: 4 kB / 1.582 GB, free: 6.461 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.68, allocations: 4 kB / 1.582 GB, free: 6.457 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.6802, allocations: 55.92 kB / 1.582 GB, free: 6.402 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.6803, allocations: 3.938 kB / 1.582 GB, free: 6.398 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.6808, allocations: 114.9 kB / 1.582 GB, free: 6.285 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-05/0.6808, allocations: 20 kB / 1.582 GB, free: 6.266 MB / 1.279 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.0004943/0.6813, allocations: 384 kB / 1.582 GB, free: 5.883 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002305/0.6816, allocations: 143.1 kB / 1.582 GB, free: 5.742 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006294/0.6822, allocations: 389.3 kB / 1.583 GB, free: 5.34 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.6822, allocations: 4.094 kB / 1.583 GB, free: 5.336 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/0.6822, allocations: 3.938 kB / 1.583 GB, free: 5.332 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.6822, allocations: 8.031 kB / 1.583 GB, free: 5.324 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/0.6858, allocations: 2.533 MB / 1.585 GB, free: 2.609 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.6858, allocations: 4 kB / 1.585 GB, free: 2.605 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.686, allocations: 55.84 kB / 1.585 GB, free: 2.551 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/0.686, allocations: 8 kB / 1.585 GB, free: 2.543 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.6861, allocations: 12 kB / 1.585 GB, free: 2.531 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.687e-06/0.6861, allocations: 12.56 kB / 1.585 GB, free: 2.52 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.129e-05/0.6861, allocations: 15.94 kB / 1.585 GB, free: 2.504 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.6869, allocations: 0.6309 MB / 1.586 GB, free: 1.773 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/0.6874, allocations: 296 kB / 1.586 GB, free: 1.465 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/0.6875, allocations: 19.92 kB / 1.586 GB, free: 1.445 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.6879, allocations: 8 kB / 1.586 GB, free: 1.438 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.6879, allocations: 39.86 kB / 1.586 GB, free: 1.398 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.688, allocations: 15.98 kB / 1.586 GB, free: 1.383 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001723/0.6897, allocations: 1.223 MB / 1.587 GB, free: 168 kB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.6897, allocations: 0 / 1.587 GB, free: 168 kB / 1.279 GB Notification: Performance of remove unused functions: time 0.001033/0.6907, allocations: 335.4 kB / 1.588 GB, free: 15.83 MB / 1.295 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.002419/0.6931, allocations: 1.649 MB / 1.589 GB, free: 14.08 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0006189/0.6938, allocations: 347.7 kB / 1.59 GB, free: 13.74 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6938, allocations: 0 / 1.59 GB, free: 13.74 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.694, allocations: 157.2 kB / 1.59 GB, free: 13.59 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003794/0.6978, allocations: 0.9292 MB / 1.591 GB, free: 12.69 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/0.7127, allocations: 10.52 MB / 1.601 GB, free: 1.82 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009631/0.7137, allocations: 1.212 MB / 1.602 GB, free: 0.5781 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.000938/0.7146, allocations: 302.7 kB / 1.603 GB, free: 284 kB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.676/1.391, allocations: 458.8 kB / 1.603 GB, free: 280.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.022e-06/1.391, allocations: 0 / 1.603 GB, free: 280.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08849/1.479, allocations: 44.2 MB / 1.646 GB, free: 260.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/11.86, allocations: 1.719 kB / 1.646 GB, free: 260.7 MB / 1.295 GB " [Timeout remaining time 288] (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: 18.348355676978827]