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.001387/0.001387, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00149/0.00149, allocations: 215.9 kB / 23.04 MB, free: 5.074 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.336/1.336, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.963/2.963, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary",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.00187/0.00187, allocations: 68.3 kB / 1.171 GB, free: 19.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2875, allocations: 179 MB / 1.345 GB, free: 356 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2703/0.5578, allocations: 258.2 MB / 1.597 GB, free: 13.21 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.6735/1.231, allocations: 20.81 MB / 1.618 GB, free: 4.355 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/1.233, allocations: 111.5 kB / 1.618 GB, free: 4.355 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.001796/1.235, allocations: 0.855 MB / 1.619 GB, free: 4.355 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.006633/1.242, allocations: 3.075 MB / 1.622 GB, free: 4.355 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.006329/1.248, allocations: 2.926 MB / 1.625 GB, free: 4.328 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.006125/1.254, allocations: 3.868 MB / 1.628 GB, free: 4.32 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/1.256, allocations: 0.9147 MB / 1.629 GB, free: 4.246 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01127/1.267, allocations: 5.068 MB / 1.634 GB, free: 4.176 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002236/1.27, allocations: 1.047 MB / 1.635 GB, free: 4.176 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0003077/1.27, allocations: 108.3 kB / 1.635 GB, free: 4.176 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007875/1.278, allocations: 3.747 MB / 1.639 GB, free: 4.141 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.001069/1.279, allocations: 0.6629 MB / 1.64 GB, free: 4.141 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001699/1.281, allocations: 0.9792 MB / 1.641 GB, free: 4.141 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.008134/1.289, allocations: 4.172 MB / 1.645 GB, free: 3.902 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.289, allocations: 1.969 kB / 1.645 GB, free: 3.902 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.733e-06/1.289, allocations: 0 / 1.645 GB, free: 3.902 MB / 1.295 GB Notification: Performance of Transformations before backend: time 4.628e-05/1.289, allocations: 0 / 1.645 GB, free: 3.902 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.003939/1.293, allocations: 2.293 MB / 1.647 GB, free: 18.75 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.293, allocations: 9.688 kB / 1.647 GB, free: 18.75 MB / 1.311 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.368e-05/1.293, allocations: 33.47 kB / 1.647 GB, free: 18.75 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002134/1.293, allocations: 191.9 kB / 1.647 GB, free: 18.71 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002289/1.295, allocations: 491.9 kB / 1.648 GB, free: 18.59 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002493/1.298, allocations: 1.309 MB / 1.649 GB, free: 18.2 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.314e-05/1.298, allocations: 98.39 kB / 1.649 GB, free: 18.2 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/1.298, allocations: 126.9 kB / 1.649 GB, free: 18.2 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/1.3, allocations: 1.721 MB / 1.651 GB, free: 17.83 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/1.3, allocations: 11.41 kB / 1.651 GB, free: 17.82 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-05/1.301, allocations: 52.84 kB / 1.651 GB, free: 17.82 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.434e-05/1.301, allocations: 63.03 kB / 1.651 GB, free: 17.82 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/1.302, allocations: 1.218 MB / 1.652 GB, free: 17.82 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.007309/1.309, allocations: 7.473 MB / 1.659 GB, free: 13.33 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/1.31, allocations: 0.6389 MB / 1.66 GB, free: 13.09 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000553/1.311, allocations: 0.5858 MB / 1.661 GB, free: 13.02 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000745/1.311, allocations: 237.7 kB / 1.661 GB, free: 13.01 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.428e-05/1.312, allocations: 53.38 kB / 1.661 GB, free: 12.97 MB / 1.311 GB Notification: Performance of pre-optimization done (n=72): time 2.404e-06/1.312, allocations: 0 / 1.661 GB, free: 12.97 MB / 1.311 GB Notification: Performance of matching and sorting (n=72): time 0.002075/1.314, allocations: 1.415 MB / 1.662 GB, free: 12.82 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/1.314, allocations: 298.7 kB / 1.663 GB, free: 12.47 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/1.316, allocations: 1.889 MB / 1.664 GB, free: 12.26 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 6.613e-05/1.316, allocations: 42.92 kB / 1.664 GB, free: 12.23 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/1.316, allocations: 0.726 MB / 1.665 GB, free: 12.1 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/1.316, allocations: 258.6 kB / 1.665 GB, free: 11.93 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/1.316, allocations: 133.9 kB / 1.665 GB, free: 11.91 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.317, allocations: 329.7 kB / 1.666 GB, free: 11.61 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/1.317, allocations: 325.6 kB / 1.666 GB, free: 11.61 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005275/1.317, allocations: 0.5642 MB / 1.667 GB, free: 11.48 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008105/1.318, allocations: 0.8605 MB / 1.668 GB, free: 11.35 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.318, allocations: 4.391 kB / 1.668 GB, free: 11.35 MB / 1.311 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00122/1.319, allocations: 1.017 MB / 1.669 GB, free: 11.21 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/1.319, allocations: 13.56 kB / 1.669 GB, free: 11.21 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.319, allocations: 2.312 kB / 1.669 GB, free: 11.21 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/1.319, allocations: 10.62 kB / 1.669 GB, free: 11.21 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/1.32, allocations: 119.5 kB / 1.669 GB, free: 11.21 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/1.32, allocations: 10.28 kB / 1.669 GB, free: 11.21 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008876/1.321, allocations: 135.5 kB / 1.669 GB, free: 11.12 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-05/1.321, allocations: 47.77 kB / 1.669 GB, free: 11.12 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.0005625/1.321, allocations: 451.9 kB / 1.669 GB, free: 11.01 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003721/1.322, allocations: 205.4 kB / 1.669 GB, free: 10.89 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/1.323, allocations: 1.094 MB / 1.671 GB, free: 10.81 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/1.323, allocations: 10.41 kB / 1.671 GB, free: 10.81 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.323, allocations: 2.688 kB / 1.671 GB, free: 10.81 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.323, allocations: 10.55 kB / 1.671 GB, free: 10.81 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009344/1.333, allocations: 7.845 MB / 1.678 GB, free: 9.23 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/1.333, allocations: 14.88 kB / 1.678 GB, free: 9.23 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/1.333, allocations: 139.8 kB / 1.678 GB, free: 9.23 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.501e-05/1.333, allocations: 21.22 kB / 1.678 GB, free: 9.23 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/1.333, allocations: 41.12 kB / 1.678 GB, free: 9.23 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.649e-05/1.333, allocations: 28.3 kB / 1.678 GB, free: 9.23 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/1.333, allocations: 21.84 kB / 1.678 GB, free: 9.23 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/1.335, allocations: 1.694 MB / 1.68 GB, free: 8.375 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008961/1.336, allocations: 347.8 kB / 1.68 GB, free: 8.254 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/1.336, allocations: 34.67 kB / 1.68 GB, free: 8.254 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005952/1.337, allocations: 23.81 kB / 1.681 GB, free: 8.254 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/1.337, allocations: 110.6 kB / 1.681 GB, free: 8.238 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/1.337, allocations: 57.69 kB / 1.681 GB, free: 8.238 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.001461/1.338, allocations: 1.317 MB / 1.682 GB, free: 8.094 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.1e-07/1.338, allocations: 4.812 kB / 1.682 GB, free: 8.09 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001986/1.34, allocations: 0.5245 MB / 1.682 GB, free: 8.016 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.004016/1.344, allocations: 3.003 MB / 1.685 GB, free: 6.473 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.001052/1.345, allocations: 0.8329 MB / 1.686 GB, free: 6.457 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.345, allocations: 6.062 kB / 1.686 GB, free: 6.453 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0004626/1.346, allocations: 477.7 kB / 1.687 GB, free: 6.449 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00542/1.351, allocations: 1.343 MB / 1.688 GB, free: 6.211 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/1.367, allocations: 13.94 MB / 1.702 GB, free: 2.102 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009968/1.368, allocations: 1.407 MB / 1.703 GB, free: 1.367 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001392/1.369, allocations: 486.7 kB / 1.703 GB, free: 1.277 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000614/1.37, allocations: 0.6509 MB / 1.704 GB, free: 1.27 MB / 1.311 GB Notification: Performance of SimCode: time 7.12e-07/1.37, allocations: 3.406 kB / 1.704 GB, free: 1.27 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1012/1.471, allocations: 60.91 MB / 1.764 GB, free: 10.58 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/15.31, allocations: 7.875 kB / 1.764 GB, free: 10.57 MB / 1.357 GB " [Timeout remaining time 284] (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.825603001983836]