Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0016/0.0016, allocations: 116.8 kB / 17.17 MB, free: 6 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.002004/0.002004, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.415/1.415, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.819/2.819, allocations: 0.49 GB / 0.7923 GB, free: 1.285 MB / 0.6231 GB " [Timeout remaining time 176] 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.BoundaryWithXi_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="cs",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.002138/0.002138, allocations: 71.88 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8797/0.8818, allocations: 176.1 MB / 1.321 GB, free: 24.82 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2608/1.143, allocations: 217.9 MB / 1.534 GB, free: 15.39 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01693/1.16, allocations: 12.22 MB / 1.546 GB, free: 3.145 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/1.161, allocations: 63.38 kB / 1.546 GB, free: 3.082 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/1.163, allocations: 0.5158 MB / 1.547 GB, free: 2.562 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005153/1.168, allocations: 1.962 MB / 1.549 GB, free: 0.5938 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004762/1.173, allocations: 1.944 MB / 1.551 GB, free: 14.66 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003357/1.176, allocations: 2.371 MB / 1.553 GB, free: 12.27 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0015/1.177, allocations: 0.9743 MB / 1.554 GB, free: 11.28 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006515/1.184, allocations: 3.111 MB / 1.557 GB, free: 8.156 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/1.185, allocations: 0.6923 MB / 1.558 GB, free: 7.461 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/1.185, allocations: 88 kB / 1.558 GB, free: 7.375 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005005/1.19, allocations: 2.621 MB / 1.56 GB, free: 4.75 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0005505/1.191, allocations: 0.5414 MB / 1.561 GB, free: 4.207 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0008121/1.191, allocations: 0.727 MB / 1.561 GB, free: 3.477 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.004517/1.196, allocations: 3.111 MB / 1.564 GB, free: 364 kB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/1.196, allocations: 4 kB / 1.564 GB, free: 360 kB / 1.232 GB Notification: Performance of FrontEnd: time 1.393e-06/1.196, allocations: 0 / 1.564 GB, free: 360 kB / 1.232 GB Notification: Performance of Transformations before backend: time 1.567e-05/1.196, allocations: 0 / 1.564 GB, free: 360 kB / 1.232 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.002475/1.198, allocations: 1.777 MB / 1.566 GB, free: 14.52 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.198, allocations: 11.98 kB / 1.566 GB, free: 14.5 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.407e-05/1.198, allocations: 30.03 kB / 1.566 GB, free: 14.47 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002123/1.199, allocations: 172.6 kB / 1.566 GB, free: 14.29 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/1.2, allocations: 382.7 kB / 1.567 GB, free: 13.92 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/1.202, allocations: 0.9666 MB / 1.568 GB, free: 12.91 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/1.202, allocations: 82.03 kB / 1.568 GB, free: 12.83 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/1.202, allocations: 96 kB / 1.568 GB, free: 12.73 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/1.204, allocations: 1.511 MB / 1.569 GB, free: 11.12 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/1.204, allocations: 0 / 1.569 GB, free: 11.12 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.763e-05/1.205, allocations: 55.92 kB / 1.569 GB, free: 11.06 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.392e-05/1.205, allocations: 53.55 kB / 1.569 GB, free: 11.01 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/1.206, allocations: 1.021 MB / 1.57 GB, free: 9.992 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.006699/1.213, allocations: 5.826 MB / 1.576 GB, free: 3.852 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000636/1.213, allocations: 310.2 kB / 1.576 GB, free: 3.512 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/1.214, allocations: 239.3 kB / 1.577 GB, free: 3.266 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009645/1.215, allocations: 0.712 MB / 1.577 GB, free: 2.406 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/1.215, allocations: 42.5 kB / 1.577 GB, free: 2.355 MB / 1.248 GB Notification: Performance of pre-optimization done (n=28): time 2.124e-06/1.215, allocations: 0 / 1.577 GB, free: 2.355 MB / 1.248 GB Notification: Performance of matching and sorting (n=28): time 0.001495/1.216, allocations: 0.6721 MB / 1.578 GB, free: 1.676 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.216, allocations: 140.6 kB / 1.578 GB, free: 1.508 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002235/1.219, allocations: 1.658 MB / 1.58 GB, free: 15.84 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.516e-05/1.219, allocations: 33.7 kB / 1.58 GB, free: 15.8 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.000603/1.219, allocations: 0.5504 MB / 1.58 GB, free: 15.25 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/1.219, allocations: 99.12 kB / 1.58 GB, free: 15.15 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/1.22, allocations: 69.69 kB / 1.581 GB, free: 15.07 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001543/1.22, allocations: 321.9 kB / 1.581 GB, free: 14.75 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002327/1.22, allocations: 163.9 kB / 1.581 GB, free: 14.59 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000371/1.22, allocations: 298.5 kB / 1.581 GB, free: 14.27 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/1.221, allocations: 426 kB / 1.582 GB, free: 13.81 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.221, allocations: 4 kB / 1.582 GB, free: 13.81 MB / 1.264 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000813/1.222, allocations: 0.5712 MB / 1.582 GB, free: 13.23 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/1.222, allocations: 8 kB / 1.582 GB, free: 13.22 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/1.222, allocations: 4 kB / 1.582 GB, free: 13.22 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.222, allocations: 4 kB / 1.582 GB, free: 13.21 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/1.222, allocations: 55.91 kB / 1.582 GB, free: 13.16 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/1.222, allocations: 12.12 kB / 1.582 GB, free: 13.15 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005295/1.223, allocations: 115 kB / 1.582 GB, free: 13.04 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/1.223, allocations: 27.92 kB / 1.582 GB, free: 13.01 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.0004319/1.223, allocations: 371.6 kB / 1.583 GB, free: 12.64 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/1.223, allocations: 143.1 kB / 1.583 GB, free: 12.5 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005793/1.224, allocations: 385 kB / 1.583 GB, free: 12.1 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.224, allocations: 8.094 kB / 1.583 GB, free: 12.09 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.224, allocations: 3.984 kB / 1.583 GB, free: 12.09 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/1.224, allocations: 0 / 1.583 GB, free: 12.09 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/1.227, allocations: 2.517 MB / 1.586 GB, free: 9.387 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.227, allocations: 4.062 kB / 1.586 GB, free: 9.383 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/1.227, allocations: 59.95 kB / 1.586 GB, free: 9.324 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/1.227, allocations: 11.94 kB / 1.586 GB, free: 9.312 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/1.227, allocations: 8 kB / 1.586 GB, free: 9.305 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/1.227, allocations: 15.92 kB / 1.586 GB, free: 9.289 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.227, allocations: 8 kB / 1.586 GB, free: 9.281 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007212/1.228, allocations: 0.6191 MB / 1.586 GB, free: 8.562 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/1.228, allocations: 304 kB / 1.587 GB, free: 8.246 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/1.229, allocations: 12 kB / 1.587 GB, free: 8.234 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003435/1.229, allocations: 15.98 kB / 1.587 GB, free: 8.219 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/1.229, allocations: 31.86 kB / 1.587 GB, free: 8.188 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/1.229, allocations: 16 kB / 1.587 GB, free: 8.172 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001575/1.231, allocations: 1.207 MB / 1.588 GB, free: 6.969 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/1.231, allocations: 0 / 1.588 GB, free: 6.969 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001038/1.232, allocations: 331.4 kB / 1.588 GB, free: 6.645 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.002415/1.234, allocations: 1.663 MB / 1.59 GB, free: 4.879 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0006207/1.235, allocations: 359.8 kB / 1.59 GB, free: 4.527 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/1.235, allocations: 0 / 1.59 GB, free: 4.527 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/1.235, allocations: 161.5 kB / 1.59 GB, free: 4.371 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003703/1.239, allocations: 0.9104 MB / 1.591 GB, free: 3.48 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/1.253, allocations: 10.42 MB / 1.602 GB, free: 8.699 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009283/1.254, allocations: 1.197 MB / 1.603 GB, free: 7.473 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.0009735/1.255, allocations: 298.7 kB / 1.603 GB, free: 7.176 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/1.255, allocations: 467.2 kB / 1.603 GB, free: 6.719 MB / 1.279 GB Notification: Performance of SimCode: time 9.82e-07/1.255, allocations: 0 / 1.603 GB, free: 6.719 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08109/1.336, allocations: 44.01 MB / 1.646 GB, free: 11.14 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/12.03, allocations: 7.859 kB / 1.646 GB, free: 11.14 MB / 1.326 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.36721682798816]