Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001405/0.001405, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001588/0.001588, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.447/1.447, 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.871/2.871, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 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.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_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.002056/0.002056, allocations: 59.91 kB / 1.165 GB, free: 0.5156 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9215/0.9236, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2605/1.184, allocations: 217.9 MB / 1.553 GB, free: 14.18 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02004/1.204, allocations: 12.21 MB / 1.565 GB, free: 1.938 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001678/1.206, allocations: 59.44 kB / 1.565 GB, free: 1.879 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/1.208, allocations: 0.5275 MB / 1.565 GB, free: 1.348 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005491/1.213, allocations: 1.966 MB / 1.567 GB, free: 15.37 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005317/1.218, allocations: 1.943 MB / 1.569 GB, free: 13.43 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003676/1.222, allocations: 2.34 MB / 1.571 GB, free: 11.09 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00203/1.224, allocations: 1.002 MB / 1.572 GB, free: 10.07 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007724/1.232, allocations: 3.104 MB / 1.575 GB, free: 6.953 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/1.233, allocations: 0.6963 MB / 1.576 GB, free: 6.254 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0003454/1.234, allocations: 88 kB / 1.576 GB, free: 6.168 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005793/1.239, allocations: 2.619 MB / 1.579 GB, free: 3.543 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0008221/1.24, allocations: 0.5569 MB / 1.579 GB, free: 2.984 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001287/1.241, allocations: 0.727 MB / 1.58 GB, free: 2.254 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.006503/1.248, allocations: 3.13 MB / 1.583 GB, free: 15.11 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.248, allocations: 0 / 1.583 GB, free: 15.11 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.344e-06/1.248, allocations: 0 / 1.583 GB, free: 15.11 MB / 1.264 GB Notification: Performance of Transformations before backend: time 7.572e-05/1.248, allocations: 0 / 1.583 GB, free: 15.11 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.003389/1.251, allocations: 1.792 MB / 1.585 GB, free: 13.26 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.252, allocations: 15.97 kB / 1.585 GB, free: 13.25 MB / 1.264 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.474e-05/1.252, allocations: 26.06 kB / 1.585 GB, free: 13.22 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003163/1.252, allocations: 176.7 kB / 1.585 GB, free: 13.04 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/1.254, allocations: 382.7 kB / 1.585 GB, free: 12.66 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/1.256, allocations: 0.9744 MB / 1.586 GB, free: 11.64 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-05/1.256, allocations: 78.06 kB / 1.586 GB, free: 11.56 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/1.256, allocations: 100 kB / 1.587 GB, free: 11.46 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/1.259, allocations: 1.525 MB / 1.588 GB, free: 9.832 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/1.259, allocations: 7.922 kB / 1.588 GB, free: 9.824 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/1.259, allocations: 51.94 kB / 1.588 GB, free: 9.773 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.063e-05/1.259, allocations: 61.48 kB / 1.588 GB, free: 9.711 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/1.261, allocations: 1.025 MB / 1.589 GB, free: 8.688 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.008012/1.269, allocations: 5.858 MB / 1.595 GB, free: 2.52 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/1.269, allocations: 314.2 kB / 1.595 GB, free: 2.176 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004102/1.27, allocations: 243.3 kB / 1.595 GB, free: 1.926 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008746/1.271, allocations: 0.7077 MB / 1.596 GB, free: 1.07 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.325e-05/1.271, allocations: 38.56 kB / 1.596 GB, free: 1.023 MB / 1.264 GB Notification: Performance of pre-optimization done (n=28): time 2.214e-06/1.271, allocations: 0 / 1.596 GB, free: 1.023 MB / 1.264 GB Notification: Performance of matching and sorting (n=28): time 0.001566/1.272, allocations: 0.6847 MB / 1.597 GB, free: 340 kB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.822e-05/1.272, allocations: 136.5 kB / 1.597 GB, free: 172 kB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002662/1.275, allocations: 1.678 MB / 1.599 GB, free: 14.48 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 6.817e-05/1.275, allocations: 33.7 kB / 1.599 GB, free: 14.44 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006327/1.276, allocations: 0.5623 MB / 1.599 GB, free: 13.88 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/1.276, allocations: 103.1 kB / 1.599 GB, free: 13.77 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/1.276, allocations: 65.69 kB / 1.599 GB, free: 13.7 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.276, allocations: 318 kB / 1.6 GB, free: 13.39 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/1.276, allocations: 155.9 kB / 1.6 GB, free: 13.23 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003878/1.277, allocations: 268.4 kB / 1.6 GB, free: 12.94 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/1.277, allocations: 400.3 kB / 1.6 GB, free: 12.52 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/1.277, allocations: 4 kB / 1.6 GB, free: 12.52 MB / 1.279 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001015/1.278, allocations: 0.555 MB / 1.601 GB, free: 11.95 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.278, allocations: 11.98 kB / 1.601 GB, free: 11.94 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.278, allocations: 0 / 1.601 GB, free: 11.94 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/1.278, allocations: 4 kB / 1.601 GB, free: 11.94 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/1.279, allocations: 55.86 kB / 1.601 GB, free: 11.88 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/1.279, allocations: 7.938 kB / 1.601 GB, free: 11.88 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006761/1.279, allocations: 111 kB / 1.601 GB, free: 11.77 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/1.279, allocations: 20 kB / 1.601 GB, free: 11.75 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.0005737/1.28, allocations: 391.5 kB / 1.602 GB, free: 11.36 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/1.28, allocations: 147 kB / 1.602 GB, free: 11.21 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007272/1.281, allocations: 389.4 kB / 1.602 GB, free: 10.81 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.281, allocations: 7.938 kB / 1.602 GB, free: 10.8 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.281, allocations: 0 / 1.602 GB, free: 10.8 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/1.281, allocations: 3.984 kB / 1.602 GB, free: 10.8 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004081/1.285, allocations: 2.525 MB / 1.605 GB, free: 8.09 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.542e-05/1.285, allocations: 8 kB / 1.605 GB, free: 8.082 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002092/1.285, allocations: 51.97 kB / 1.605 GB, free: 8.031 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/1.285, allocations: 11.94 kB / 1.605 GB, free: 8.02 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/1.285, allocations: 16.72 kB / 1.605 GB, free: 8.004 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.768e-06/1.285, allocations: 7.938 kB / 1.605 GB, free: 7.996 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.285, allocations: 12 kB / 1.605 GB, free: 7.984 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008518/1.286, allocations: 0.627 MB / 1.605 GB, free: 7.258 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005354/1.287, allocations: 296 kB / 1.606 GB, free: 6.949 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/1.287, allocations: 19.94 kB / 1.606 GB, free: 6.93 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003987/1.287, allocations: 12 kB / 1.606 GB, free: 6.918 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/1.287, allocations: 31.86 kB / 1.606 GB, free: 6.887 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/1.287, allocations: 23.98 kB / 1.606 GB, free: 6.863 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001847/1.289, allocations: 1.223 MB / 1.607 GB, free: 5.645 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/1.289, allocations: 0 / 1.607 GB, free: 5.645 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001143/1.29, allocations: 339.4 kB / 1.607 GB, free: 5.312 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.002574/1.293, allocations: 1.647 MB / 1.609 GB, free: 3.559 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0006388/1.294, allocations: 347.5 kB / 1.609 GB, free: 3.219 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.294, allocations: 0 / 1.609 GB, free: 3.219 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002401/1.294, allocations: 153.2 kB / 1.609 GB, free: 3.07 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004208/1.298, allocations: 0.9332 MB / 1.61 GB, free: 2.164 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01644/1.315, allocations: 10.53 MB / 1.62 GB, free: 7.285 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.316, allocations: 1.204 MB / 1.622 GB, free: 6.051 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001032/1.317, allocations: 302.7 kB / 1.622 GB, free: 5.75 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000652/1.317, allocations: 463.3 kB / 1.622 GB, free: 5.297 MB / 1.295 GB Notification: Performance of SimCode: time 1.062e-06/1.317, allocations: 0 / 1.622 GB, free: 5.297 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08367/1.401, allocations: 44.24 MB / 1.666 GB, free: 9.441 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/12, allocations: 14.23 kB / 1.666 GB, free: 9.43 MB / 1.342 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.466151111992076]