Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.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.001491/0.001491, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001651/0.001651, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.334/1.334, allocations: 230.6 MB / 256 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 179] 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.929/2.929, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 177] 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.Boundary,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary",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.001871/0.001871, allocations: 63.67 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3216, allocations: 180.2 MB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2908/0.6124, allocations: 258.2 MB / 1.605 GB, free: 5.375 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.7089/1.321, allocations: 20.8 MB / 1.625 GB, free: 4.242 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/1.323, allocations: 107.5 kB / 1.625 GB, free: 4.242 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/1.325, allocations: 0.8524 MB / 1.626 GB, free: 4.242 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.007284/1.333, allocations: 3.075 MB / 1.629 GB, free: 4.207 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.006849/1.339, allocations: 2.925 MB / 1.632 GB, free: 4.125 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.006627/1.346, allocations: 3.876 MB / 1.636 GB, free: 4.113 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002166/1.348, allocations: 0.9137 MB / 1.637 GB, free: 4.035 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01054/1.359, allocations: 5.061 MB / 1.642 GB, free: 3.969 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002318/1.361, allocations: 1.048 MB / 1.643 GB, free: 3.965 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0003029/1.361, allocations: 109.2 kB / 1.643 GB, free: 3.965 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009039/1.37, allocations: 3.746 MB / 1.647 GB, free: 3.93 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002012/1.372, allocations: 0.6621 MB / 1.647 GB, free: 3.93 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.003713/1.376, allocations: 0.984 MB / 1.648 GB, free: 3.926 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.01123/1.387, allocations: 4.17 MB / 1.652 GB, free: 3.621 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.387, allocations: 0 / 1.652 GB, free: 3.621 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.563e-06/1.387, allocations: 3.094 kB / 1.652 GB, free: 3.621 MB / 1.295 GB Notification: Performance of Transformations before backend: time 7.453e-05/1.387, allocations: 2.375 kB / 1.652 GB, free: 3.621 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.004691/1.392, allocations: 2.283 MB / 1.654 GB, free: 18.46 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.392, allocations: 13.78 kB / 1.654 GB, free: 18.46 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002243/1.392, allocations: 190.6 kB / 1.655 GB, free: 18.42 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/1.395, allocations: 496.9 kB / 1.655 GB, free: 18.3 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/1.397, allocations: 1.308 MB / 1.656 GB, free: 17.91 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/1.397, allocations: 96.53 kB / 1.656 GB, free: 17.9 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/1.397, allocations: 129.1 kB / 1.657 GB, free: 17.9 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/1.4, allocations: 1.717 MB / 1.658 GB, free: 17.53 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.973e-05/1.4, allocations: 5.406 kB / 1.658 GB, free: 17.53 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.524e-05/1.4, allocations: 54.59 kB / 1.658 GB, free: 17.53 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.128e-05/1.4, allocations: 68.73 kB / 1.658 GB, free: 17.53 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/1.401, allocations: 1.229 MB / 1.66 GB, free: 17.52 MB / 1.311 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.007692/1.409, allocations: 7.47 MB / 1.667 GB, free: 13.02 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007254/1.41, allocations: 0.6358 MB / 1.668 GB, free: 12.79 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005237/1.41, allocations: 0.5886 MB / 1.668 GB, free: 12.71 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007864/1.411, allocations: 240.7 kB / 1.668 GB, free: 12.7 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/1.411, allocations: 49.52 kB / 1.668 GB, free: 12.66 MB / 1.311 GB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/1.411, allocations: 0 / 1.668 GB, free: 12.66 MB / 1.311 GB Notification: Performance of matching and sorting (n=72): time 0.002173/1.413, allocations: 1.406 MB / 1.67 GB, free: 12.52 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/1.414, allocations: 295.5 kB / 1.67 GB, free: 12.17 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/1.416, allocations: 1.891 MB / 1.672 GB, free: 11.96 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 9.704e-05/1.416, allocations: 42.08 kB / 1.672 GB, free: 11.93 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005079/1.416, allocations: 0.7286 MB / 1.673 GB, free: 11.8 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/1.417, allocations: 259.1 kB / 1.673 GB, free: 11.63 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/1.417, allocations: 133.8 kB / 1.673 GB, free: 11.62 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.000135/1.417, allocations: 327 kB / 1.673 GB, free: 11.31 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/1.417, allocations: 328.6 kB / 1.674 GB, free: 11.31 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/1.418, allocations: 0.5601 MB / 1.674 GB, free: 11.18 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00088/1.419, allocations: 0.8602 MB / 1.675 GB, free: 11.05 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.419, allocations: 3.938 kB / 1.675 GB, free: 11.05 MB / 1.311 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001316/1.42, allocations: 1.019 MB / 1.676 GB, free: 10.91 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.42, allocations: 5.5 kB / 1.676 GB, free: 10.91 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.42, allocations: 6.469 kB / 1.676 GB, free: 10.91 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/1.42, allocations: 8.031 kB / 1.676 GB, free: 10.91 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000378/1.42, allocations: 123.6 kB / 1.676 GB, free: 10.91 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/1.42, allocations: 12.31 kB / 1.676 GB, free: 10.91 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008405/1.421, allocations: 135.1 kB / 1.676 GB, free: 10.82 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/1.421, allocations: 48.06 kB / 1.676 GB, free: 10.82 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 72 * 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.0005981/1.422, allocations: 455.8 kB / 1.677 GB, free: 10.7 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003701/1.422, allocations: 211.4 kB / 1.677 GB, free: 10.58 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/1.424, allocations: 1.087 MB / 1.678 GB, free: 10.5 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/1.424, allocations: 16.2 kB / 1.678 GB, free: 10.5 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/1.424, allocations: 2.969 kB / 1.678 GB, free: 10.5 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.467e-06/1.424, allocations: 5.078 kB / 1.678 GB, free: 10.5 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009274/1.433, allocations: 7.847 MB / 1.686 GB, free: 8.922 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/1.433, allocations: 19.47 kB / 1.686 GB, free: 8.918 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/1.433, allocations: 140.7 kB / 1.686 GB, free: 8.918 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.491e-05/1.433, allocations: 21.75 kB / 1.686 GB, free: 8.918 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.911e-05/1.434, allocations: 40.55 kB / 1.686 GB, free: 8.918 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.529e-05/1.434, allocations: 27.67 kB / 1.686 GB, free: 8.918 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/1.434, allocations: 22.06 kB / 1.686 GB, free: 8.918 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/1.435, allocations: 1.709 MB / 1.688 GB, free: 8.043 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007372/1.436, allocations: 339.9 kB / 1.688 GB, free: 7.922 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002056/1.436, allocations: 38.31 kB / 1.688 GB, free: 7.922 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005664/1.437, allocations: 26.75 kB / 1.688 GB, free: 7.922 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.437, allocations: 110.7 kB / 1.688 GB, free: 7.906 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/1.437, allocations: 56.03 kB / 1.688 GB, free: 7.906 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00138/1.438, allocations: 1.317 MB / 1.689 GB, free: 7.758 MB / 1.311 GB Notification: Performance of sort global known variables: time 8e-08/1.438, allocations: 2.469 kB / 1.689 GB, free: 7.758 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001768/1.44, allocations: 0.5173 MB / 1.69 GB, free: 7.688 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * 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 (78): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003558/1.444, allocations: 3.013 MB / 1.693 GB, free: 6.09 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.001006/1.445, allocations: 0.8403 MB / 1.694 GB, free: 6.074 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.445, allocations: 2.312 kB / 1.694 GB, free: 6.074 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0004572/1.445, allocations: 478.1 kB / 1.694 GB, free: 6.07 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00485/1.45, allocations: 1.338 MB / 1.695 GB, free: 5.832 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/1.466, allocations: 13.94 MB / 1.709 GB, free: 1.723 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009799/1.467, allocations: 1.402 MB / 1.71 GB, free: 0.9961 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001373/1.468, allocations: 486.4 kB / 1.711 GB, free: 0.9062 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006203/1.469, allocations: 0.653 MB / 1.712 GB, free: 0.8984 MB / 1.311 GB Notification: Performance of SimCode: time 1.132e-06/1.469, allocations: 4 kB / 1.712 GB, free: 0.8945 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/1.577, allocations: 60.86 MB / 1.771 GB, free: 7.812 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/15.07, allocations: 0 / 1.771 GB, free: 7.812 MB / 1.357 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.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: 21.296045196941122]