Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.001368/0.001368, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001573/0.001573, allocations: 217 kB / 22.25 MB, free: 5.082 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.775/2.775, allocations: 476.8 MB / 0.7707 GB, free: 4.207 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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.BoundaryWithX_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",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.002176/0.002176, allocations: 69.81 kB / 1.117 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3342, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2888/0.623, allocations: 218.3 MB / 1.497 GB, free: 0.5703 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02039/0.6434, allocations: 12.28 MB / 1.509 GB, free: 4.254 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.6453, allocations: 63.38 kB / 1.509 GB, free: 4.191 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.6472, allocations: 0.5197 MB / 1.509 GB, free: 3.668 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005886/0.6531, allocations: 1.979 MB / 1.511 GB, free: 1.684 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.005869/0.659, allocations: 2.026 MB / 1.513 GB, free: 15.66 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004187/0.6631, allocations: 2.395 MB / 1.515 GB, free: 13.26 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.6652, allocations: 0.8579 MB / 1.516 GB, free: 12.38 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.6673, allocations: 0.8483 MB / 1.517 GB, free: 11.53 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001693/0.669, allocations: 0.708 MB / 1.518 GB, free: 10.82 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004229/0.6694, allocations: 95.94 kB / 1.518 GB, free: 10.73 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00714/0.6766, allocations: 2.898 MB / 1.521 GB, free: 7.82 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.00091/0.6775, allocations: 0.557 MB / 1.521 GB, free: 7.262 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.6793, allocations: 0.7347 MB / 1.522 GB, free: 6.523 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.008057/0.6873, allocations: 3.123 MB / 1.525 GB, free: 3.391 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.6873, allocations: 4 kB / 1.525 GB, free: 3.387 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.574e-06/0.6873, allocations: 0 / 1.525 GB, free: 3.387 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001007/0.6874, allocations: 0 / 1.525 GB, free: 3.387 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.004407/0.6919, allocations: 1.725 MB / 1.527 GB, free: 1.621 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.6919, allocations: 8.031 kB / 1.527 GB, free: 1.613 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000361/0.6923, allocations: 168.8 kB / 1.527 GB, free: 1.438 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002039/0.6943, allocations: 386.7 kB / 1.527 GB, free: 1.059 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.6966, allocations: 0.8945 MB / 1.528 GB, free: 140 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-05/0.6967, allocations: 78.06 kB / 1.528 GB, free: 60 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.697, allocations: 104.1 kB / 1.528 GB, free: 15.95 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.6998, allocations: 1.529 MB / 1.53 GB, free: 14.31 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/0.6998, allocations: 15.88 kB / 1.53 GB, free: 14.3 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.6999, allocations: 51.92 kB / 1.53 GB, free: 14.25 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.152e-05/0.7, allocations: 57.64 kB / 1.53 GB, free: 14.19 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.7018, allocations: 1.021 MB / 1.531 GB, free: 13.17 MB / 1.232 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.007756/0.7095, allocations: 5.653 MB / 1.536 GB, free: 7.25 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006963/0.7102, allocations: 318.1 kB / 1.537 GB, free: 6.902 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.7106, allocations: 231.4 kB / 1.537 GB, free: 6.664 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005057/0.7111, allocations: 111.9 kB / 1.537 GB, free: 6.555 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.7111, allocations: 46.5 kB / 1.537 GB, free: 6.5 MB / 1.232 GB Notification: Performance of pre-optimization done (n=28): time 1.864e-06/0.7111, allocations: 0 / 1.537 GB, free: 6.5 MB / 1.232 GB Notification: Performance of matching and sorting (n=28): time 0.001553/0.7127, allocations: 0.6727 MB / 1.538 GB, free: 5.82 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.58e-05/0.7127, allocations: 144.5 kB / 1.538 GB, free: 5.648 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.7155, allocations: 1.686 MB / 1.539 GB, free: 3.953 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.56e-05/0.7156, allocations: 33.7 kB / 1.54 GB, free: 3.914 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005984/0.7162, allocations: 0.5506 MB / 1.54 GB, free: 3.359 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.7163, allocations: 103.1 kB / 1.54 GB, free: 3.258 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.7164, allocations: 69.69 kB / 1.54 GB, free: 3.184 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.7166, allocations: 318 kB / 1.541 GB, free: 2.867 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.7168, allocations: 155.9 kB / 1.541 GB, free: 2.715 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/0.7172, allocations: 273.7 kB / 1.541 GB, free: 2.418 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005666/0.7178, allocations: 400.3 kB / 1.541 GB, free: 1.996 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.7178, allocations: 3.938 kB / 1.541 GB, free: 1.992 MB / 1.232 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001042/0.7188, allocations: 0.5518 MB / 1.542 GB, free: 1.434 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.7189, allocations: 12.19 kB / 1.542 GB, free: 1.422 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.7189, allocations: 0 / 1.542 GB, free: 1.422 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.7189, allocations: 4 kB / 1.542 GB, free: 1.418 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.7191, allocations: 51.92 kB / 1.542 GB, free: 1.367 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.7192, allocations: 11.92 kB / 1.542 GB, free: 1.355 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006274/0.7198, allocations: 110.9 kB / 1.542 GB, free: 1.246 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/0.7198, allocations: 20 kB / 1.542 GB, free: 1.227 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0006315/0.7205, allocations: 381.5 kB / 1.542 GB, free: 0.8438 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004145/0.7209, allocations: 147.1 kB / 1.543 GB, free: 0.6992 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008106/0.7217, allocations: 388.9 kB / 1.543 GB, free: 304 kB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.7217, allocations: 4 kB / 1.543 GB, free: 300 kB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.7217, allocations: 3.938 kB / 1.543 GB, free: 296 kB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7217, allocations: 0 / 1.543 GB, free: 296 kB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004594/0.7263, allocations: 2.354 MB / 1.545 GB, free: 13.8 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/0.7263, allocations: 8 kB / 1.545 GB, free: 13.79 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002344/0.7266, allocations: 55.91 kB / 1.545 GB, free: 13.73 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.7266, allocations: 15.88 kB / 1.545 GB, free: 13.72 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.012e-05/0.7266, allocations: 12 kB / 1.545 GB, free: 13.71 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/0.7266, allocations: 8 kB / 1.545 GB, free: 13.7 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.7266, allocations: 11.94 kB / 1.545 GB, free: 13.69 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.7276, allocations: 0.6322 MB / 1.546 GB, free: 12.96 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006469/0.7283, allocations: 234.8 kB / 1.546 GB, free: 12.73 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/0.7286, allocations: 16 kB / 1.546 GB, free: 12.71 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004269/0.729, allocations: 8 kB / 1.546 GB, free: 12.7 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.7291, allocations: 35.83 kB / 1.546 GB, free: 12.67 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.7291, allocations: 24 kB / 1.546 GB, free: 12.64 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002101/0.7312, allocations: 1.219 MB / 1.547 GB, free: 11.43 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.7312, allocations: 0 / 1.547 GB, free: 11.43 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.00137/0.7326, allocations: 343.3 kB / 1.548 GB, free: 11.09 MB / 1.248 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.002932/0.7355, allocations: 1.645 MB / 1.549 GB, free: 9.344 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0007734/0.7363, allocations: 335.5 kB / 1.55 GB, free: 9.016 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.7363, allocations: 4.312 kB / 1.55 GB, free: 9.012 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.7365, allocations: 159.6 kB / 1.55 GB, free: 8.855 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004441/0.741, allocations: 0.9352 MB / 1.551 GB, free: 7.949 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/0.7591, allocations: 10.52 MB / 1.561 GB, free: 13.08 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.7602, allocations: 1.208 MB / 1.562 GB, free: 11.84 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001002/0.7612, allocations: 306.6 kB / 1.563 GB, free: 11.54 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000655/0.7619, allocations: 463.3 kB / 1.563 GB, free: 11.09 MB / 1.264 GB Notification: Performance of SimCode: time 1.132e-06/0.7619, allocations: 0 / 1.563 GB, free: 11.09 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.741/1.503, allocations: 44.42 MB / 1.606 GB, free: 313.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/15.83, allocations: 2.438 kB / 1.606 GB, free: 313.7 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithX_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: 22.508088096044958]