Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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.001755/0.001755, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002324/0.002324, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.976/2.976, allocations: 476.7 MB / 0.7707 GB, free: 4.223 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.BoundaryWithXi_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_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.002136/0.002136, allocations: 64.86 kB / 1.117 GB, free: 40.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3625, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2737/0.6362, allocations: 218.3 MB / 1.497 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01857/0.6548, allocations: 12.29 MB / 1.509 GB, free: 4.266 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.6563, allocations: 63.38 kB / 1.509 GB, free: 4.203 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001681/0.658, allocations: 0.5119 MB / 1.509 GB, free: 3.688 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005326/0.6633, allocations: 1.995 MB / 1.511 GB, free: 1.688 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005615/0.6689, allocations: 2.006 MB / 1.513 GB, free: 15.69 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003673/0.6726, allocations: 2.434 MB / 1.515 GB, free: 13.25 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.6743, allocations: 0.842 MB / 1.516 GB, free: 12.38 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.6761, allocations: 0.8601 MB / 1.517 GB, free: 11.52 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.6774, allocations: 0.7041 MB / 1.518 GB, free: 10.81 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.6777, allocations: 88 kB / 1.518 GB, free: 10.73 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006093/0.6837, allocations: 2.894 MB / 1.521 GB, free: 7.824 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007015/0.6844, allocations: 0.5531 MB / 1.521 GB, free: 7.27 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.6857, allocations: 0.727 MB / 1.522 GB, free: 6.539 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.006196/0.6919, allocations: 3.103 MB / 1.525 GB, free: 3.426 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6919, allocations: 4 kB / 1.525 GB, free: 3.422 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6919, allocations: 0 / 1.525 GB, free: 3.422 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.163e-05/0.692, allocations: 0 / 1.525 GB, free: 3.422 MB / 1.217 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.003583/0.6956, allocations: 1.707 MB / 1.527 GB, free: 1.676 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.6956, allocations: 12.02 kB / 1.527 GB, free: 1.664 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003021/0.6959, allocations: 168.6 kB / 1.527 GB, free: 1.488 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/0.6978, allocations: 378.7 kB / 1.527 GB, free: 1.117 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.6997, allocations: 0.8984 MB / 1.528 GB, free: 196 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-05/0.6998, allocations: 78.03 kB / 1.528 GB, free: 116 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.6999, allocations: 100 kB / 1.528 GB, free: 16 kB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002475/0.7024, allocations: 1.509 MB / 1.53 GB, free: 14.39 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.7024, allocations: 7.938 kB / 1.53 GB, free: 14.39 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.7025, allocations: 47.94 kB / 1.53 GB, free: 14.34 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.003e-05/0.7026, allocations: 65.47 kB / 1.53 GB, free: 14.28 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.7043, allocations: 1.009 MB / 1.531 GB, free: 13.27 MB / 1.232 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.007812/0.7121, allocations: 5.621 MB / 1.536 GB, free: 7.379 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.7128, allocations: 314.1 kB / 1.537 GB, free: 7.035 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.7131, allocations: 243.4 kB / 1.537 GB, free: 6.785 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005069/0.7136, allocations: 112.2 kB / 1.537 GB, free: 6.676 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.7136, allocations: 42.55 kB / 1.537 GB, free: 6.625 MB / 1.232 GB Notification: Performance of pre-optimization done (n=28): time 2.064e-06/0.7136, allocations: 0 / 1.537 GB, free: 6.625 MB / 1.232 GB Notification: Performance of matching and sorting (n=28): time 0.001572/0.7152, allocations: 0.6721 MB / 1.538 GB, free: 5.945 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.7153, allocations: 136.6 kB / 1.538 GB, free: 5.781 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003213/0.7185, allocations: 1.654 MB / 1.539 GB, free: 4.117 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.7186, allocations: 33.7 kB / 1.539 GB, free: 4.078 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006596/0.7193, allocations: 0.5543 MB / 1.54 GB, free: 3.52 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.7194, allocations: 99.11 kB / 1.54 GB, free: 3.422 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.7195, allocations: 73.59 kB / 1.54 GB, free: 3.344 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.7197, allocations: 321.9 kB / 1.54 GB, free: 3.023 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.72, allocations: 171.9 kB / 1.541 GB, free: 2.855 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.7204, allocations: 282.2 kB / 1.541 GB, free: 2.543 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006041/0.721, allocations: 429.9 kB / 1.541 GB, free: 2.086 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.721, allocations: 4 kB / 1.541 GB, free: 2.082 MB / 1.232 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001106/0.7221, allocations: 0.5713 MB / 1.542 GB, free: 1.504 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.7222, allocations: 4 kB / 1.542 GB, free: 1.5 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.7222, allocations: 4 kB / 1.542 GB, free: 1.496 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.7222, allocations: 4 kB / 1.542 GB, free: 1.492 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.7225, allocations: 63.84 kB / 1.542 GB, free: 1.43 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.7225, allocations: 4 kB / 1.542 GB, free: 1.426 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007741/0.7233, allocations: 111.3 kB / 1.542 GB, free: 1.316 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-05/0.7233, allocations: 20.08 kB / 1.542 GB, free: 1.297 MB / 1.232 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.0007137/0.724, allocations: 381.5 kB / 1.542 GB, free: 0.9141 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/0.7244, allocations: 147 kB / 1.542 GB, free: 0.7695 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000806/0.7252, allocations: 385 kB / 1.543 GB, free: 376 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.7252, allocations: 4 kB / 1.543 GB, free: 372 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7252, allocations: 4 kB / 1.543 GB, free: 368 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.7252, allocations: 4 kB / 1.543 GB, free: 364 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004398/0.7296, allocations: 2.335 MB / 1.545 GB, free: 13.88 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.912e-05/0.7296, allocations: 8 kB / 1.545 GB, free: 13.88 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.7299, allocations: 51.92 kB / 1.545 GB, free: 13.82 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.7299, allocations: 15.91 kB / 1.545 GB, free: 13.81 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.7299, allocations: 15.94 kB / 1.545 GB, free: 13.79 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-05/0.7299, allocations: 11.98 kB / 1.545 GB, free: 13.78 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.7299, allocations: 7.938 kB / 1.545 GB, free: 13.77 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008449/0.7308, allocations: 0.6231 MB / 1.546 GB, free: 13.05 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006177/0.7314, allocations: 234.8 kB / 1.546 GB, free: 12.82 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002622/0.7316, allocations: 16 kB / 1.546 GB, free: 12.8 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004551/0.7321, allocations: 12.06 kB / 1.546 GB, free: 12.79 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.7322, allocations: 35.84 kB / 1.546 GB, free: 12.76 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.7322, allocations: 16 kB / 1.546 GB, free: 12.74 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001902/0.7341, allocations: 1.207 MB / 1.547 GB, free: 11.54 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.7341, allocations: 0 / 1.547 GB, free: 11.54 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001336/0.7354, allocations: 335.4 kB / 1.548 GB, free: 11.21 MB / 1.248 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.003083/0.7385, allocations: 1.659 MB / 1.549 GB, free: 9.449 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0006937/0.7392, allocations: 347.5 kB / 1.55 GB, free: 9.109 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.7392, allocations: 4 kB / 1.55 GB, free: 9.105 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.7394, allocations: 157.7 kB / 1.55 GB, free: 8.953 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003908/0.7434, allocations: 0.9143 MB / 1.551 GB, free: 8.062 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.76, allocations: 10.43 MB / 1.561 GB, free: 13.27 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.7612, allocations: 1.201 MB / 1.562 GB, free: 12.04 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001074/0.7622, allocations: 302.6 kB / 1.562 GB, free: 11.74 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006643/0.7629, allocations: 463.3 kB / 1.563 GB, free: 11.29 MB / 1.264 GB Notification: Performance of SimCode: time 8.91e-07/0.7629, allocations: 0 / 1.563 GB, free: 11.29 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8362/1.599, allocations: 44.2 MB / 1.606 GB, free: 314 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.6, allocations: 7.328 kB / 1.606 GB, free: 314 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.79097155900672]