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.0008635/0.0008635, 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.0008373/0.0008373, allocations: 165.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.8664/0.8664, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.66/1.66, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.491e-05/2.66e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.5727/0.5727, allocations: 189.5 MB / 1.136 GB, free: 18.58 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01284/0.5855, allocations: 11.22 MB / 1.146 GB, free: 10.92 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.5873, allocations: 66.47 kB / 1.147 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.5886, allocations: 0.5377 MB / 1.147 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004673/0.5933, allocations: 1.938 MB / 1.149 GB, free: 9.457 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004126/0.5974, allocations: 2.041 MB / 1.151 GB, free: 8.434 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002886/0.6003, allocations: 2.339 MB / 1.153 GB, free: 7.297 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.6014, allocations: 0.8451 MB / 1.154 GB, free: 6.891 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.603, allocations: 1.14 MB / 1.155 GB, free: 6.379 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008801/0.6039, allocations: 0.6023 MB / 1.156 GB, free: 6.168 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.604, allocations: 91.56 kB / 1.156 GB, free: 6.168 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004546/0.6086, allocations: 2.333 MB / 1.158 GB, free: 5.246 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000589/0.6092, allocations: 0.5723 MB / 1.159 GB, free: 4.992 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000831/0.61, allocations: 499.4 kB / 1.159 GB, free: 4.797 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.005387/0.6154, allocations: 3.2 MB / 1.162 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.6154, allocations: 0 / 1.162 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6154, allocations: 1 kB / 1.162 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.821e-05/0.6155, allocations: 0 / 1.162 GB, free: 3.738 MB / 0.9948 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.002647/0.6181, allocations: 1.701 MB / 1.164 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.6182, allocations: 9.062 kB / 1.164 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.6183, allocations: 174.9 kB / 1.164 GB, free: 2.484 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.6195, allocations: 389.5 kB / 1.164 GB, free: 2.359 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.6207, allocations: 0.8895 MB / 1.165 GB, free: 1.855 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.6207, allocations: 77.03 kB / 1.165 GB, free: 1.82 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.263e-05/0.6208, allocations: 103.7 kB / 1.166 GB, free: 1.785 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.6224, allocations: 1.994 MB / 1.167 GB, free: 492 kB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.6224, allocations: 1.5 kB / 1.167 GB, free: 492 kB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/0.6225, allocations: 49.33 kB / 1.168 GB, free: 456 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.762e-05/0.6225, allocations: 58.62 kB / 1.168 GB, free: 452 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.6236, allocations: 1.025 MB / 1.169 GB, free: 96 kB / 0.9948 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.004568/0.6281, allocations: 4.911 MB / 1.173 GB, free: 12.62 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.6286, allocations: 305.6 kB / 1.174 GB, free: 12.45 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.6288, allocations: 242.8 kB / 1.174 GB, free: 12.35 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/0.6291, allocations: 110.9 kB / 1.174 GB, free: 12.34 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.6291, allocations: 39.28 kB / 1.174 GB, free: 12.29 MB / 1.01 GB Notification: Performance of pre-optimization done (n=28): time 2.555e-06/0.6291, allocations: 0 / 1.174 GB, free: 12.29 MB / 1.01 GB Notification: Performance of matching and sorting (n=28): time 0.0009958/0.6301, allocations: 0.6786 MB / 1.175 GB, free: 12.03 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.6302, allocations: 136.7 kB / 1.175 GB, free: 11.87 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.6318, allocations: 1.683 MB / 1.176 GB, free: 11.28 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.6318, allocations: 32.27 kB / 1.177 GB, free: 11.24 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000363/0.6322, allocations: 0.5632 MB / 1.177 GB, free: 10.79 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.279e-05/0.6322, allocations: 102.2 kB / 1.177 GB, free: 10.71 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.642e-05/0.6323, allocations: 66.83 kB / 1.177 GB, free: 10.68 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.6324, allocations: 319.2 kB / 1.178 GB, free: 10.36 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.6326, allocations: 158.3 kB / 1.178 GB, free: 10.32 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.6328, allocations: 428.4 kB / 1.178 GB, free: 9.988 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.6332, allocations: 407 kB / 1.178 GB, free: 9.785 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6332, allocations: 1.125 kB / 1.178 GB, free: 9.785 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006038/0.6338, allocations: 0.5482 MB / 1.179 GB, free: 9.555 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6338, allocations: 5.719 kB / 1.179 GB, free: 9.555 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.6338, allocations: 2.375 kB / 1.179 GB, free: 9.555 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.6339, allocations: 8.188 kB / 1.179 GB, free: 9.551 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.634, allocations: 53.45 kB / 1.179 GB, free: 9.547 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.634, allocations: 6.5 kB / 1.179 GB, free: 9.543 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005094/0.6345, allocations: 118.7 kB / 1.179 GB, free: 9.457 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.6346, allocations: 22.5 kB / 1.179 GB, free: 9.453 MB / 1.01 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.0003798/0.6349, allocations: 376.3 kB / 1.18 GB, free: 9.23 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.6351, allocations: 148.2 kB / 1.18 GB, free: 9.148 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004332/0.6355, allocations: 388 kB / 1.18 GB, free: 8.961 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.6355, allocations: 6.906 kB / 1.18 GB, free: 8.957 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.6355, allocations: 2.688 kB / 1.18 GB, free: 8.957 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6355, allocations: 3.688 kB / 1.18 GB, free: 8.957 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.6384, allocations: 2.239 MB / 1.182 GB, free: 7.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.6384, allocations: 5.75 kB / 1.182 GB, free: 7.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001229/0.6385, allocations: 53.7 kB / 1.182 GB, free: 7.672 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.6386, allocations: 11.22 kB / 1.182 GB, free: 7.668 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.6386, allocations: 14.12 kB / 1.182 GB, free: 7.664 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.6386, allocations: 10.48 kB / 1.182 GB, free: 7.664 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.6386, allocations: 13.62 kB / 1.182 GB, free: 7.656 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.6392, allocations: 0.6182 MB / 1.183 GB, free: 7.203 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004628/0.6397, allocations: 229 kB / 1.183 GB, free: 7.078 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.6398, allocations: 23.23 kB / 1.183 GB, free: 7.066 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.6401, allocations: 10.81 kB / 1.183 GB, free: 7.062 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.6401, allocations: 40.25 kB / 1.183 GB, free: 7.047 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.6401, allocations: 21.53 kB / 1.183 GB, free: 7.039 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001249/0.6414, allocations: 1.225 MB / 1.185 GB, free: 6.594 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6414, allocations: 0 / 1.185 GB, free: 6.594 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001148/0.6425, allocations: 332.4 kB / 1.185 GB, free: 6.539 MB / 1.01 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.00192/0.6444, allocations: 1.657 MB / 1.186 GB, free: 5.438 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004506/0.6449, allocations: 347.6 kB / 1.187 GB, free: 5.324 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.6449, allocations: 2.188 kB / 1.187 GB, free: 5.324 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.645, allocations: 153.8 kB / 1.187 GB, free: 5.273 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/0.6473, allocations: 0.9319 MB / 1.188 GB, free: 5.008 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.6601, allocations: 10.59 MB / 1.198 GB, free: 216 kB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.6605, allocations: 0.6138 MB / 1.199 GB, free: 24 kB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0009032/0.6614, allocations: 297.8 kB / 1.199 GB, free: 15.9 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/0.6619, allocations: 467.6 kB / 1.199 GB, free: 15.52 MB / 1.026 GB Notification: Performance of SimCode: time 2.034e-06/0.6619, allocations: 3.094 kB / 1.199 GB, free: 15.52 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05988/0.7217, allocations: 48.12 MB / 1.246 GB, free: 10.2 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.865, allocations: 4 kB / 1.246 GB, free: 10.2 MB / 1.057 GB " [Timeout remaining time 291] (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/jenkins/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: 12.831967642530799]