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.001276/0.001276, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001388/0.001388, allocations: 217.6 kB / 23.03 MB, free: 4.922 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.396/1.396, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 3.047/3.047, allocations: 0.5003 GB / 0.8062 GB, free: 28.22 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.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.001868/0.001868, allocations: 70.47 kB / 1.17 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3363, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.2295/0.5657, allocations: 189.6 MB / 1.53 GB, free: 1.617 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.5812, allocations: 11.24 MB / 1.541 GB, free: 6.348 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.5828, allocations: 63.38 kB / 1.541 GB, free: 6.285 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.5841, allocations: 0.5197 MB / 1.542 GB, free: 5.762 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.004943/0.5891, allocations: 1.914 MB / 1.544 GB, free: 3.84 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.004872/0.5939, allocations: 1.968 MB / 1.546 GB, free: 1.875 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003468/0.5974, allocations: 2.422 MB / 1.548 GB, free: 15.44 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.5988, allocations: 0.8343 MB / 1.549 GB, free: 14.59 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006801/0.6056, allocations: 3.158 MB / 1.552 GB, free: 11.42 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.6068, allocations: 0.6963 MB / 1.553 GB, free: 10.72 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001865/0.607, allocations: 92 kB / 1.553 GB, free: 10.63 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004368/0.6114, allocations: 2.086 MB / 1.555 GB, free: 8.539 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005945/0.612, allocations: 0.5492 MB / 1.555 GB, free: 7.988 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0007592/0.6127, allocations: 0.5833 MB / 1.556 GB, free: 7.402 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005022/0.6177, allocations: 3.06 MB / 1.559 GB, free: 4.332 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6177, allocations: 0 / 1.559 GB, free: 4.332 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6177, allocations: 0 / 1.559 GB, free: 4.332 MB / 1.248 GB Notification: Performance of Transformations before backend: time 3.669e-05/0.6178, allocations: 3.938 kB / 1.559 GB, free: 4.328 MB / 1.248 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.002787/0.6206, allocations: 1.702 MB / 1.561 GB, free: 2.586 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.6206, allocations: 8.031 kB / 1.561 GB, free: 2.578 MB / 1.248 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.302e-05/0.6207, allocations: 30.03 kB / 1.561 GB, free: 2.547 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/0.6209, allocations: 172.6 kB / 1.561 GB, free: 2.367 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.6227, allocations: 378.7 kB / 1.561 GB, free: 1.996 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.6244, allocations: 0.8829 MB / 1.562 GB, free: 1.082 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-05/0.6244, allocations: 86.02 kB / 1.562 GB, free: 0.9961 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.6246, allocations: 96 kB / 1.562 GB, free: 0.9023 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002696/0.6273, allocations: 1.964 MB / 1.564 GB, free: 14.72 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.6273, allocations: 3.938 kB / 1.564 GB, free: 14.71 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.94e-05/0.6274, allocations: 47.94 kB / 1.564 GB, free: 14.67 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.544e-05/0.6275, allocations: 65.45 kB / 1.564 GB, free: 14.61 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.629, allocations: 1.017 MB / 1.565 GB, free: 13.59 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.006477/0.6355, allocations: 4.893 MB / 1.57 GB, free: 8.543 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006347/0.6361, allocations: 310.2 kB / 1.57 GB, free: 8.203 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003015/0.6364, allocations: 235.4 kB / 1.571 GB, free: 7.961 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004744/0.6369, allocations: 108.2 kB / 1.571 GB, free: 7.855 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.637, allocations: 50.47 kB / 1.571 GB, free: 7.797 MB / 1.264 GB Notification: Performance of pre-optimization done (n=28): time 2.685e-06/0.637, allocations: 0 / 1.571 GB, free: 7.797 MB / 1.264 GB Notification: Performance of matching and sorting (n=28): time 0.001461/0.6384, allocations: 0.6721 MB / 1.571 GB, free: 7.117 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/0.6385, allocations: 136.6 kB / 1.571 GB, free: 6.953 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/0.6407, allocations: 1.654 MB / 1.573 GB, free: 5.289 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.556e-05/0.6408, allocations: 33.7 kB / 1.573 GB, free: 5.25 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006669/0.6414, allocations: 0.5543 MB / 1.574 GB, free: 4.691 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.6415, allocations: 103.1 kB / 1.574 GB, free: 4.59 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.6417, allocations: 73.69 kB / 1.574 GB, free: 4.512 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.6418, allocations: 321.9 kB / 1.574 GB, free: 4.191 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.6421, allocations: 163.9 kB / 1.574 GB, free: 4.031 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.6426, allocations: 448.8 kB / 1.575 GB, free: 3.52 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005812/0.6431, allocations: 429.9 kB / 1.575 GB, free: 3.062 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.6431, allocations: 0 / 1.575 GB, free: 3.062 MB / 1.264 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009283/0.6441, allocations: 0.5792 MB / 1.576 GB, free: 2.477 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.6441, allocations: 4 kB / 1.576 GB, free: 2.473 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.6441, allocations: 4 kB / 1.576 GB, free: 2.469 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.6441, allocations: 4 kB / 1.576 GB, free: 2.465 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.6444, allocations: 55.91 kB / 1.576 GB, free: 2.41 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.6444, allocations: 4 kB / 1.576 GB, free: 2.406 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006927/0.6451, allocations: 107 kB / 1.576 GB, free: 2.301 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/0.6451, allocations: 27.94 kB / 1.576 GB, free: 2.273 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.0006397/0.6458, allocations: 377.6 kB / 1.576 GB, free: 1.895 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.6461, allocations: 147.1 kB / 1.576 GB, free: 1.75 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007779/0.6468, allocations: 380.7 kB / 1.577 GB, free: 1.355 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.6468, allocations: 4 kB / 1.577 GB, free: 1.352 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.6469, allocations: 0 / 1.577 GB, free: 1.352 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.6469, allocations: 4 kB / 1.577 GB, free: 1.348 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/0.6508, allocations: 2.237 MB / 1.579 GB, free: 14.97 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/0.6508, allocations: 8 kB / 1.579 GB, free: 14.96 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.651, allocations: 47.86 kB / 1.579 GB, free: 14.92 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.651, allocations: 19.91 kB / 1.579 GB, free: 14.9 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.6511, allocations: 16 kB / 1.579 GB, free: 14.88 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-05/0.6511, allocations: 8 kB / 1.579 GB, free: 14.88 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/0.6511, allocations: 11.92 kB / 1.579 GB, free: 14.86 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008833/0.652, allocations: 0.6152 MB / 1.58 GB, free: 14.15 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004734/0.6525, allocations: 226.9 kB / 1.58 GB, free: 13.93 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.6526, allocations: 20.08 kB / 1.58 GB, free: 13.91 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/0.653, allocations: 12 kB / 1.58 GB, free: 13.89 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.653, allocations: 39.83 kB / 1.58 GB, free: 13.86 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/0.6531, allocations: 16 kB / 1.58 GB, free: 13.84 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.00168/0.6548, allocations: 1.207 MB / 1.581 GB, free: 12.64 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6548, allocations: 3.938 kB / 1.581 GB, free: 12.63 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001052/0.6558, allocations: 335.4 kB / 1.581 GB, free: 12.3 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.002516/0.6583, allocations: 1.653 MB / 1.583 GB, free: 10.55 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0006681/0.659, allocations: 355.5 kB / 1.583 GB, free: 10.2 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.659, allocations: 0 / 1.583 GB, free: 10.2 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.6592, allocations: 157.7 kB / 1.584 GB, free: 10.05 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00361/0.6628, allocations: 0.9198 MB / 1.584 GB, free: 9.152 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/0.6768, allocations: 10.41 MB / 1.595 GB, free: 14.38 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/0.6775, allocations: 0.6068 MB / 1.595 GB, free: 13.74 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009494/0.6784, allocations: 298.6 kB / 1.595 GB, free: 13.44 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000582/0.679, allocations: 455.3 kB / 1.596 GB, free: 13 MB / 1.295 GB Notification: Performance of SimCode: time 9.22e-07/0.679, allocations: 0 / 1.596 GB, free: 13 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7221/1.401, allocations: 47.3 MB / 1.642 GB, free: 253.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.75/15.15, allocations: 13.94 kB / 1.642 GB, free: 253.7 MB / 1.295 GB " [Timeout remaining time 285] (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: 21.74591668404173]