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.0008977/0.0008977, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001203/0.001203, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8619/0.8619, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 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 1.657/1.657, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.251e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.5934/0.5934, allocations: 189.5 MB / 1.185 GB, free: 11.51 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0121/0.6055, allocations: 11.15 MB / 1.196 GB, free: 3.895 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001453/0.607, allocations: 62.97 kB / 1.196 GB, free: 3.855 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.6081, allocations: 0.5288 MB / 1.196 GB, free: 3.492 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.004031/0.6121, allocations: 1.928 MB / 1.198 GB, free: 2.445 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003688/0.6158, allocations: 2.026 MB / 1.2 GB, free: 1.426 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.003085/0.6189, allocations: 2.277 MB / 1.202 GB, free: 320 kB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.6203, allocations: 0.7036 MB / 1.203 GB, free: 15.98 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005718/0.626, allocations: 3.436 MB / 1.206 GB, free: 14.5 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009636/0.627, allocations: 0.5831 MB / 1.207 GB, free: 14.3 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.6271, allocations: 89.06 kB / 1.207 GB, free: 14.3 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004105/0.6312, allocations: 2.095 MB / 1.209 GB, free: 13.21 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.000453/0.6317, allocations: 0.5701 MB / 1.21 GB, free: 12.84 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.6322, allocations: 493.1 kB / 1.21 GB, free: 12.62 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.00463/0.6368, allocations: 3.152 MB / 1.213 GB, free: 10.72 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6368, allocations: 0 / 1.213 GB, free: 10.72 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6368, allocations: 0 / 1.213 GB, free: 10.72 MB / 1.057 GB Notification: Performance of Transformations before backend: time 2.214e-05/0.6369, allocations: 3.938 kB / 1.213 GB, free: 10.71 MB / 1.057 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.001913/0.6388, allocations: 1.656 MB / 1.215 GB, free: 9.465 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.6388, allocations: 9.406 kB / 1.215 GB, free: 9.465 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.639, allocations: 172.5 kB / 1.215 GB, free: 9.328 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009597/0.6399, allocations: 387.7 kB / 1.215 GB, free: 9.137 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009887/0.6409, allocations: 0.853 MB / 1.216 GB, free: 8.52 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/0.641, allocations: 81.78 kB / 1.216 GB, free: 8.48 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.379e-05/0.641, allocations: 101.6 kB / 1.216 GB, free: 8.445 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.6426, allocations: 1.964 MB / 1.218 GB, free: 6.906 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.6426, allocations: 5.906 kB / 1.218 GB, free: 6.902 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/0.6426, allocations: 45.41 kB / 1.218 GB, free: 6.871 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/0.6427, allocations: 59.2 kB / 1.218 GB, free: 6.859 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.6438, allocations: 1.018 MB / 1.219 GB, free: 6.367 MB / 1.057 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.003844/0.6476, allocations: 4.88 MB / 1.224 GB, free: 2.41 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/0.648, allocations: 312.4 kB / 1.224 GB, free: 2.195 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.6482, allocations: 237 kB / 1.225 GB, free: 2.062 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/0.6485, allocations: 113.4 kB / 1.225 GB, free: 2.027 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.6485, allocations: 37.41 kB / 1.225 GB, free: 1.984 MB / 1.057 GB Notification: Performance of pre-optimization done (n=28): time 2.695e-06/0.6485, allocations: 0 / 1.225 GB, free: 1.984 MB / 1.057 GB Notification: Performance of matching and sorting (n=28): time 0.0008868/0.6494, allocations: 0.6792 MB / 1.225 GB, free: 1.633 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.6495, allocations: 135.1 kB / 1.225 GB, free: 1.473 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.6508, allocations: 1.636 MB / 1.227 GB, free: 0.6211 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.6508, allocations: 32.23 kB / 1.227 GB, free: 0.5859 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.6511, allocations: 0.5493 MB / 1.228 GB, free: 108 kB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.6512, allocations: 101.5 kB / 1.228 GB, free: 16 kB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.6513, allocations: 77.39 kB / 1.228 GB, free: 15.96 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.6513, allocations: 319.6 kB / 1.228 GB, free: 15.65 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.6515, allocations: 158.6 kB / 1.228 GB, free: 15.57 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.6517, allocations: 438.8 kB / 1.229 GB, free: 15.19 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.6522, allocations: 437.7 kB / 1.229 GB, free: 14.91 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6522, allocations: 3.938 kB / 1.229 GB, free: 14.91 MB / 1.073 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005257/0.6528, allocations: 0.5694 MB / 1.23 GB, free: 14.61 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.6528, allocations: 9.094 kB / 1.23 GB, free: 14.6 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.6528, allocations: 2.719 kB / 1.23 GB, free: 14.6 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.6528, allocations: 5.531 kB / 1.23 GB, free: 14.6 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.6529, allocations: 57.34 kB / 1.23 GB, free: 14.59 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.653, allocations: 1.969 kB / 1.23 GB, free: 14.59 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.6534, allocations: 108.5 kB / 1.23 GB, free: 14.51 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.6534, allocations: 26.95 kB / 1.23 GB, free: 14.5 MB / 1.073 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.0003114/0.6537, allocations: 376.4 kB / 1.23 GB, free: 14.24 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.6538, allocations: 139.7 kB / 1.23 GB, free: 14.16 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.6542, allocations: 384 kB / 1.231 GB, free: 13.92 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.6542, allocations: 2.906 kB / 1.231 GB, free: 13.92 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.6542, allocations: 0 / 1.231 GB, free: 13.92 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.6542, allocations: 3.984 kB / 1.231 GB, free: 13.92 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.6563, allocations: 2.229 MB / 1.233 GB, free: 12.32 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6563, allocations: 6 kB / 1.233 GB, free: 12.32 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.593e-05/0.6564, allocations: 45.17 kB / 1.233 GB, free: 12.31 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.6564, allocations: 11.59 kB / 1.233 GB, free: 12.31 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.6565, allocations: 14.75 kB / 1.233 GB, free: 12.3 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.6565, allocations: 16.14 kB / 1.233 GB, free: 12.3 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/0.6565, allocations: 12.78 kB / 1.233 GB, free: 12.29 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.6569, allocations: 0.6 MB / 1.234 GB, free: 11.61 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002547/0.6571, allocations: 230.8 kB / 1.234 GB, free: 11.39 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.264e-05/0.6572, allocations: 20 kB / 1.234 GB, free: 11.37 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.6574, allocations: 15.31 kB / 1.234 GB, free: 11.36 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.6574, allocations: 39.84 kB / 1.234 GB, free: 11.32 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.6575, allocations: 16 kB / 1.234 GB, free: 11.3 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0009388/0.6584, allocations: 1.191 MB / 1.235 GB, free: 10.11 MB / 1.073 GB Notification: Performance of sort global known variables: time 8e-08/0.6584, allocations: 0 / 1.235 GB, free: 10.11 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0008007/0.6592, allocations: 335.4 kB / 1.235 GB, free: 9.785 MB / 1.073 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.001456/0.6607, allocations: 1.677 MB / 1.237 GB, free: 8.008 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0005637/0.6612, allocations: 360.7 kB / 1.237 GB, free: 7.656 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6612, allocations: 4 kB / 1.237 GB, free: 7.652 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.6614, allocations: 153.7 kB / 1.238 GB, free: 7.504 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.6632, allocations: 0.8706 MB / 1.238 GB, free: 6.664 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009295/0.6725, allocations: 10.41 MB / 1.249 GB, free: 11.88 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.6729, allocations: 0.5946 MB / 1.249 GB, free: 11.25 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0006745/0.6736, allocations: 294.4 kB / 1.249 GB, free: 10.96 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000353/0.6739, allocations: 452.4 kB / 1.25 GB, free: 10.52 MB / 1.089 GB Notification: Performance of SimCode: time 1.502e-06/0.6739, allocations: 3.938 kB / 1.25 GB, free: 10.52 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05332/0.7272, allocations: 46.97 MB / 1.296 GB, free: 12.26 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/8.041, allocations: 7.922 kB / 1.296 GB, free: 12.25 MB / 1.135 GB " [Timeout remaining time 292] (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/jenkins/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: 11.99341933708638]