Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001432/0.001432, 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.001636/0.001636, 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.399/1.399, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.884/2.884, allocations: 0.5003 GB / 0.8026 GB, free: 6.75 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_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.002019/0.002019, allocations: 64.14 kB / 1.165 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8831/0.8851, allocations: 179 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2685/1.154, allocations: 217.9 MB / 1.553 GB, free: 14.22 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01708/1.171, allocations: 12.21 MB / 1.565 GB, free: 1.977 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/1.172, allocations: 63.38 kB / 1.565 GB, free: 1.914 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001389/1.173, allocations: 0.5197 MB / 1.565 GB, free: 1.391 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005849/1.179, allocations: 1.966 MB / 1.567 GB, free: 15.42 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005109/1.184, allocations: 1.939 MB / 1.569 GB, free: 13.48 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003575/1.188, allocations: 2.367 MB / 1.572 GB, free: 11.11 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/1.19, allocations: 0.9821 MB / 1.572 GB, free: 10.11 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006903/1.197, allocations: 3.104 MB / 1.575 GB, free: 6.992 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/1.198, allocations: 0.6924 MB / 1.576 GB, free: 6.297 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/1.198, allocations: 92 kB / 1.576 GB, free: 6.207 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005249/1.203, allocations: 2.619 MB / 1.579 GB, free: 3.582 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0006902/1.204, allocations: 0.5453 MB / 1.579 GB, free: 3.035 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0009541/1.205, allocations: 0.727 MB / 1.58 GB, free: 2.305 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005636/1.211, allocations: 3.111 MB / 1.583 GB, free: 15.18 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.211, allocations: 0 / 1.583 GB, free: 15.18 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.593e-06/1.211, allocations: 0 / 1.583 GB, free: 15.18 MB / 1.264 GB Notification: Performance of Transformations before backend: time 3.104e-05/1.211, allocations: 4 kB / 1.583 GB, free: 15.18 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002764/1.213, allocations: 1.777 MB / 1.585 GB, free: 13.34 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/1.213, allocations: 8.031 kB / 1.585 GB, free: 13.34 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.417e-05/1.213, allocations: 30.03 kB / 1.585 GB, free: 13.3 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001969/1.214, allocations: 172.6 kB / 1.585 GB, free: 13.12 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/1.215, allocations: 370.7 kB / 1.585 GB, free: 12.76 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/1.217, allocations: 0.9706 MB / 1.586 GB, free: 11.75 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.471e-05/1.217, allocations: 74.03 kB / 1.586 GB, free: 11.67 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/1.217, allocations: 100 kB / 1.587 GB, free: 11.57 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002258/1.22, allocations: 1.517 MB / 1.588 GB, free: 9.949 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/1.22, allocations: 3.938 kB / 1.588 GB, free: 9.945 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/1.22, allocations: 47.94 kB / 1.588 GB, free: 9.898 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.539e-05/1.22, allocations: 57.55 kB / 1.588 GB, free: 9.84 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/1.221, allocations: 1.017 MB / 1.589 GB, free: 8.828 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.006649/1.228, allocations: 5.835 MB / 1.595 GB, free: 2.68 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006231/1.229, allocations: 318.2 kB / 1.595 GB, free: 2.332 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003014/1.229, allocations: 231.3 kB / 1.595 GB, free: 2.094 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007682/1.23, allocations: 0.7078 MB / 1.596 GB, free: 1.238 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/1.23, allocations: 46.55 kB / 1.596 GB, free: 1.184 MB / 1.264 GB Notification: Performance of pre-optimization done (n=28): time 1.943e-06/1.23, allocations: 0 / 1.596 GB, free: 1.184 MB / 1.264 GB Notification: Performance of matching and sorting (n=28): time 0.001375/1.231, allocations: 0.6767 MB / 1.597 GB, free: 0.5 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/1.231, allocations: 140.5 kB / 1.597 GB, free: 340 kB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002122/1.233, allocations: 1.65 MB / 1.598 GB, free: 14.67 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.996e-05/1.233, allocations: 37.7 kB / 1.598 GB, free: 14.63 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/1.234, allocations: 0.5465 MB / 1.599 GB, free: 14.08 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 9.673e-05/1.234, allocations: 107 kB / 1.599 GB, free: 13.97 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/1.234, allocations: 73.72 kB / 1.599 GB, free: 13.89 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.234, allocations: 321.9 kB / 1.599 GB, free: 13.57 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/1.234, allocations: 163.9 kB / 1.6 GB, free: 13.41 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/1.235, allocations: 282.2 kB / 1.6 GB, free: 13.1 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005661/1.235, allocations: 433.9 kB / 1.6 GB, free: 12.64 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.235, allocations: 0 / 1.6 GB, free: 12.64 MB / 1.279 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008759/1.236, allocations: 0.5712 MB / 1.601 GB, free: 12.06 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.236, allocations: 8 kB / 1.601 GB, free: 12.05 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.236, allocations: 4.188 kB / 1.601 GB, free: 12.05 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/1.236, allocations: 8.094 kB / 1.601 GB, free: 12.04 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/1.237, allocations: 59.91 kB / 1.601 GB, free: 11.98 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.237, allocations: 4 kB / 1.601 GB, free: 11.98 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005319/1.237, allocations: 111 kB / 1.601 GB, free: 11.87 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/1.237, allocations: 31.91 kB / 1.601 GB, free: 11.84 MB / 1.279 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.0004997/1.238, allocations: 373.6 kB / 1.601 GB, free: 11.46 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/1.238, allocations: 147 kB / 1.602 GB, free: 11.32 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006467/1.239, allocations: 384.7 kB / 1.602 GB, free: 10.92 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.239, allocations: 4 kB / 1.602 GB, free: 10.92 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.239, allocations: 0 / 1.602 GB, free: 10.92 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/1.239, allocations: 4 kB / 1.602 GB, free: 10.91 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/1.242, allocations: 2.517 MB / 1.604 GB, free: 8.215 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.242, allocations: 8.062 kB / 1.604 GB, free: 8.207 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/1.242, allocations: 51.86 kB / 1.604 GB, free: 8.156 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/1.242, allocations: 11.94 kB / 1.605 GB, free: 8.145 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/1.243, allocations: 12 kB / 1.605 GB, free: 8.133 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/1.243, allocations: 11.98 kB / 1.605 GB, free: 8.121 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.781e-05/1.243, allocations: 11.94 kB / 1.605 GB, free: 8.109 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/1.243, allocations: 0.6171 MB / 1.605 GB, free: 7.395 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/1.244, allocations: 304 kB / 1.605 GB, free: 7.078 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/1.244, allocations: 12 kB / 1.605 GB, free: 7.066 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/1.244, allocations: 16 kB / 1.605 GB, free: 7.051 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/1.244, allocations: 31.84 kB / 1.605 GB, free: 7.02 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/1.244, allocations: 20 kB / 1.606 GB, free: 7 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001714/1.246, allocations: 1.211 MB / 1.607 GB, free: 5.793 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/1.246, allocations: 0 / 1.607 GB, free: 5.793 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001102/1.247, allocations: 331.4 kB / 1.607 GB, free: 5.469 MB / 1.279 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.002719/1.25, allocations: 1.663 MB / 1.609 GB, free: 3.703 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0006121/1.251, allocations: 355.6 kB / 1.609 GB, free: 3.355 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/1.251, allocations: 4 kB / 1.609 GB, free: 3.352 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/1.251, allocations: 156.4 kB / 1.609 GB, free: 3.199 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/1.255, allocations: 0.925 MB / 1.61 GB, free: 2.301 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01467/1.269, allocations: 10.42 MB / 1.62 GB, free: 7.52 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009391/1.27, allocations: 1.201 MB / 1.621 GB, free: 6.289 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009055/1.271, allocations: 294.7 kB / 1.622 GB, free: 5.996 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/1.272, allocations: 459.3 kB / 1.622 GB, free: 5.547 MB / 1.295 GB Notification: Performance of SimCode: time 7.21e-07/1.272, allocations: 0 / 1.622 GB, free: 5.547 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08016/1.352, allocations: 44.01 MB / 1.665 GB, free: 9.922 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/12.09, allocations: 6.094 kB / 1.665 GB, free: 9.918 MB / 1.342 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.415233595995232]