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.0007388/0.0007388, 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.0007659/0.0007659, allocations: 169.9 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.8593/0.8593, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.699/1.699, allocations: 389 MB / 0.633 GB, free: 12.67 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.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: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.603e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.6239/0.6239, allocations: 222.7 MB / 1.217 GB, free: 6.156 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.6397, allocations: 18.57 MB / 1.235 GB, free: 8.102 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001374/0.6411, allocations: 101 kB / 1.235 GB, free: 8.039 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.6425, allocations: 0.873 MB / 1.236 GB, free: 7.254 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.004719/0.6472, allocations: 3.002 MB / 1.239 GB, free: 4.953 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003848/0.651, allocations: 2.917 MB / 1.242 GB, free: 2.781 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.002146/0.6532, allocations: 3.691 MB / 1.246 GB, free: 0.5586 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006653/0.6538, allocations: 0.8129 MB / 1.246 GB, free: 15.96 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006179/0.66, allocations: 5.394 MB / 1.252 GB, free: 10.66 MB / 1.089 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007314/0.6608, allocations: 0.88 MB / 1.253 GB, free: 9.781 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.6609, allocations: 108 kB / 1.253 GB, free: 9.676 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/0.6649, allocations: 2.89 MB / 1.255 GB, free: 6.777 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.0003481/0.6653, allocations: 0.6815 MB / 1.256 GB, free: 6.094 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.0004142/0.6657, allocations: 0.6314 MB / 1.257 GB, free: 5.461 MB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.00315/0.6688, allocations: 4.184 MB / 1.261 GB, free: 1.266 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.6688, allocations: 0 / 1.261 GB, free: 1.266 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.044e-06/0.6688, allocations: 0 / 1.261 GB, free: 1.266 MB / 1.089 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.6689, allocations: 0 / 1.261 GB, free: 1.266 MB / 1.089 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.001872/0.6707, allocations: 2.22 MB / 1.263 GB, free: 15 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.6708, allocations: 12.75 kB / 1.263 GB, free: 14.99 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.6709, allocations: 186 kB / 1.263 GB, free: 14.8 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.6719, allocations: 0.4904 MB / 1.264 GB, free: 14.31 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.6732, allocations: 1.246 MB / 1.265 GB, free: 13.02 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.6732, allocations: 94.44 kB / 1.265 GB, free: 12.93 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.6733, allocations: 124 kB / 1.265 GB, free: 12.8 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.6747, allocations: 1.721 MB / 1.267 GB, free: 10.95 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.6747, allocations: 11.88 kB / 1.267 GB, free: 10.93 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.727e-05/0.6748, allocations: 48 kB / 1.267 GB, free: 10.89 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/0.6748, allocations: 71.91 kB / 1.267 GB, free: 10.82 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.6759, allocations: 1.22 MB / 1.268 GB, free: 9.598 MB / 1.104 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.003911/0.6798, allocations: 6.328 MB / 1.274 GB, free: 3.09 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005493/0.6804, allocations: 0.6442 MB / 1.275 GB, free: 2.355 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004302/0.6808, allocations: 0.5898 MB / 1.275 GB, free: 1.738 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/0.6812, allocations: 225.1 kB / 1.276 GB, free: 1.52 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.6812, allocations: 50.5 kB / 1.276 GB, free: 1.461 MB / 1.104 GB Notification: Performance of pre-optimization done (n=72): time 1.954e-06/0.6812, allocations: 4 kB / 1.276 GB, free: 1.457 MB / 1.104 GB Notification: Performance of matching and sorting (n=72): time 0.001506/0.6827, allocations: 1.407 MB / 1.277 GB, free: 48 kB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.109e-05/0.6828, allocations: 290.7 kB / 1.277 GB, free: 15.7 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.6841, allocations: 1.851 MB / 1.279 GB, free: 13.8 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.6842, allocations: 45.7 kB / 1.279 GB, free: 13.75 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.6846, allocations: 0.7173 MB / 1.28 GB, free: 13.03 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.6847, allocations: 257.8 kB / 1.28 GB, free: 12.77 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.6848, allocations: 130.3 kB / 1.28 GB, free: 12.64 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 7.786e-05/0.6849, allocations: 338 kB / 1.281 GB, free: 12.3 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.6851, allocations: 325.1 kB / 1.281 GB, free: 11.99 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005201/0.6857, allocations: 0.9931 MB / 1.282 GB, free: 10.84 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/0.6863, allocations: 0.8605 MB / 1.283 GB, free: 9.93 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6863, allocations: 1.312 kB / 1.283 GB, free: 9.93 MB / 1.12 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00095/0.6873, allocations: 1.019 MB / 1.284 GB, free: 8.902 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.6873, allocations: 4 kB / 1.284 GB, free: 8.898 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.6873, allocations: 4 kB / 1.284 GB, free: 8.895 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.6873, allocations: 8 kB / 1.284 GB, free: 8.887 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.6875, allocations: 119.8 kB / 1.284 GB, free: 8.77 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.6875, allocations: 12.41 kB / 1.284 GB, free: 8.758 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.6878, allocations: 130.8 kB / 1.284 GB, free: 8.629 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.6879, allocations: 47.98 kB / 1.284 GB, free: 8.582 MB / 1.12 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.0003641/0.6882, allocations: 449.5 kB / 1.284 GB, free: 8.133 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/0.6884, allocations: 198.8 kB / 1.285 GB, free: 7.938 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009768/0.6894, allocations: 1.088 MB / 1.286 GB, free: 6.84 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.6894, allocations: 19.98 kB / 1.286 GB, free: 6.82 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6894, allocations: 4.5 kB / 1.286 GB, free: 6.816 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.6894, allocations: 11.97 kB / 1.286 GB, free: 6.805 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006404/0.6958, allocations: 7.69 MB / 1.293 GB, free: 14.84 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.6959, allocations: 16 kB / 1.293 GB, free: 14.82 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/0.6961, allocations: 139.8 kB / 1.293 GB, free: 14.68 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.6961, allocations: 20 kB / 1.293 GB, free: 14.66 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.6961, allocations: 36.72 kB / 1.293 GB, free: 14.63 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.6961, allocations: 31.8 kB / 1.294 GB, free: 14.6 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.6961, allocations: 31.88 kB / 1.294 GB, free: 14.57 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.6972, allocations: 1.65 MB / 1.295 GB, free: 12.7 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.6975, allocations: 342.5 kB / 1.295 GB, free: 12.36 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.6976, allocations: 39.98 kB / 1.296 GB, free: 12.32 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.6979, allocations: 28 kB / 1.296 GB, free: 12.3 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/0.698, allocations: 111.4 kB / 1.296 GB, free: 12.19 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.454e-05/0.6981, allocations: 55.98 kB / 1.296 GB, free: 12.13 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001171/0.6992, allocations: 1.295 MB / 1.297 GB, free: 10.82 MB / 1.135 GB Notification: Performance of sort global known variables: time 9e-08/0.6992, allocations: 3.938 kB / 1.297 GB, free: 10.81 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0009507/0.7002, allocations: 0.5184 MB / 1.297 GB, free: 10.29 MB / 1.135 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.002338/0.7025, allocations: 3.004 MB / 1.3 GB, free: 7.062 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0007215/0.7033, allocations: 0.8376 MB / 1.301 GB, free: 6.223 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7033, allocations: 0 / 1.301 GB, free: 6.223 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.7036, allocations: 479.2 kB / 1.302 GB, free: 5.758 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/0.7063, allocations: 1.26 MB / 1.303 GB, free: 4.527 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.7177, allocations: 13.83 MB / 1.316 GB, free: 5.992 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/0.7183, allocations: 0.8011 MB / 1.317 GB, free: 5.16 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007285/0.7191, allocations: 478.2 kB / 1.318 GB, free: 4.688 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004911/0.7196, allocations: 0.6448 MB / 1.318 GB, free: 4.043 MB / 1.151 GB Notification: Performance of SimCode: time 1.212e-06/0.7196, allocations: 0 / 1.318 GB, free: 4.043 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05763/0.7772, allocations: 63.01 MB / 1.38 GB, free: 6 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.986/8.763, allocations: 3.938 kB / 1.38 GB, free: 5.996 MB / 1.214 GB " [Timeout remaining time 291] (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/jenkins/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: 12.853984972462058]