Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007223/0.007223, allocations: 99.66 kB / 15.73 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 196.4 kB / 16.68 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.158/2.158, allocations: 390.3 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6647/0.666, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.2136/0.8796, allocations: 214.1 MB / 1.297 GB, free: 7.555 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.8937, allocations: 12.17 MB / 1.308 GB, free: 11.35 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.895, allocations: 47.69 kB / 1.308 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.8961, allocations: 0.508 MB / 1.309 GB, free: 10.79 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00384/0.8999, allocations: 1.87 MB / 1.311 GB, free: 8.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003902/0.9039, allocations: 1.904 MB / 1.313 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002329/0.9062, allocations: 2.348 MB / 1.315 GB, free: 4.652 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.9075, allocations: 1.236 MB / 1.316 GB, free: 3.398 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001012/0.9086, allocations: 0.8249 MB / 1.317 GB, free: 2.57 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006305/0.9092, allocations: 0.6535 MB / 1.318 GB, free: 1.914 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.9093, allocations: 92 kB / 1.318 GB, free: 1.824 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004373/0.9137, allocations: 2.7 MB / 1.32 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000414/0.9141, allocations: 0.5454 MB / 1.321 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006246/0.9148, allocations: 0.7309 MB / 1.322 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003361/0.9181, allocations: 3.112 MB / 1.325 GB, free: 10.71 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.9181, allocations: 8 kB / 1.325 GB, free: 10.71 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9182, allocations: 0 / 1.325 GB, free: 10.71 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.9182, allocations: 0 / 1.325 GB, free: 10.71 MB / 1.061 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.001999/0.9202, allocations: 1.744 MB / 1.326 GB, free: 8.906 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.9202, allocations: 8.031 kB / 1.326 GB, free: 8.898 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001787/0.9204, allocations: 168.8 kB / 1.326 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.9221, allocations: 377.8 kB / 1.327 GB, free: 8.352 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00146/0.9236, allocations: 0.9541 MB / 1.328 GB, free: 7.352 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.639e-05/0.9236, allocations: 82.06 kB / 1.328 GB, free: 7.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.9238, allocations: 100 kB / 1.328 GB, free: 7.172 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.9257, allocations: 1.535 MB / 1.329 GB, free: 5.531 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.9257, allocations: 3.938 kB / 1.329 GB, free: 5.527 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.38e-05/0.9258, allocations: 51.94 kB / 1.329 GB, free: 5.477 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-05/0.9259, allocations: 65.52 kB / 1.33 GB, free: 5.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.9272, allocations: 1.017 MB / 1.331 GB, free: 4.391 MB / 1.061 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.005208/0.9324, allocations: 5.848 MB / 1.336 GB, free: 14.23 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.933, allocations: 334.1 kB / 1.337 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.9332, allocations: 247.4 kB / 1.337 GB, free: 13.61 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000638/0.9339, allocations: 0.7076 MB / 1.337 GB, free: 12.76 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.9339, allocations: 38.56 kB / 1.338 GB, free: 12.71 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 1.973e-06/0.9339, allocations: 0 / 1.338 GB, free: 12.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001154/0.9351, allocations: 0.6716 MB / 1.338 GB, free: 12.03 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.9352, allocations: 140.5 kB / 1.338 GB, free: 11.86 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.9369, allocations: 1.682 MB / 1.34 GB, free: 10.17 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.9369, allocations: 33.7 kB / 1.34 GB, free: 10.13 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.9374, allocations: 0.5583 MB / 1.341 GB, free: 9.57 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 8.021e-05/0.9375, allocations: 94.64 kB / 1.341 GB, free: 9.477 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.9376, allocations: 66.09 kB / 1.341 GB, free: 9.406 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.761e-05/0.9377, allocations: 325.9 kB / 1.341 GB, free: 9.082 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.9379, allocations: 155.9 kB / 1.341 GB, free: 8.93 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/0.9382, allocations: 270 kB / 1.341 GB, free: 8.637 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/0.9386, allocations: 404.2 kB / 1.342 GB, free: 8.211 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.9387, allocations: 8.062 kB / 1.342 GB, free: 8.203 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006952/0.9394, allocations: 0.5426 MB / 1.342 GB, free: 7.652 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.9394, allocations: 8 kB / 1.342 GB, free: 7.645 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.9394, allocations: 0 / 1.342 GB, free: 7.645 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.9394, allocations: 4 kB / 1.342 GB, free: 7.641 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.9396, allocations: 55.92 kB / 1.342 GB, free: 7.586 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.9396, allocations: 8.719 kB / 1.342 GB, free: 7.578 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/0.9401, allocations: 110.5 kB / 1.342 GB, free: 7.469 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.9401, allocations: 20 kB / 1.343 GB, free: 7.449 MB / 1.076 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.000382/0.9405, allocations: 373.6 kB / 1.343 GB, free: 7.074 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.9407, allocations: 146.2 kB / 1.343 GB, free: 6.93 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005171/0.9412, allocations: 388.7 kB / 1.343 GB, free: 6.527 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.9413, allocations: 4 kB / 1.343 GB, free: 6.523 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.9413, allocations: 3.938 kB / 1.343 GB, free: 6.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.9413, allocations: 0 / 1.343 GB, free: 6.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002989/0.9443, allocations: 2.513 MB / 1.346 GB, free: 3.824 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.9443, allocations: 8 kB / 1.346 GB, free: 3.816 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.9445, allocations: 51.91 kB / 1.346 GB, free: 3.766 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.9445, allocations: 11.94 kB / 1.346 GB, free: 3.754 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.9445, allocations: 12 kB / 1.346 GB, free: 3.742 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.9445, allocations: 7.938 kB / 1.346 GB, free: 3.734 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.9446, allocations: 12.44 kB / 1.346 GB, free: 3.723 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005896/0.9451, allocations: 0.6262 MB / 1.347 GB, free: 2.996 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.9456, allocations: 299.3 kB / 1.347 GB, free: 2.684 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.9457, allocations: 15.98 kB / 1.347 GB, free: 2.668 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003386/0.9461, allocations: 12 kB / 1.347 GB, free: 2.656 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/0.9461, allocations: 39.78 kB / 1.347 GB, free: 2.617 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.9461, allocations: 16 kB / 1.347 GB, free: 2.602 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001292/0.9474, allocations: 1.223 MB / 1.348 GB, free: 1.383 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9474, allocations: 3.938 kB / 1.348 GB, free: 1.379 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008418/0.9483, allocations: 331.7 kB / 1.348 GB, free: 1.055 MB / 1.076 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.001945/0.9502, allocations: 1.66 MB / 1.35 GB, free: 15.3 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004729/0.9507, allocations: 351.5 kB / 1.35 GB, free: 14.96 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.9507, allocations: 0 / 1.35 GB, free: 14.96 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.9509, allocations: 161 kB / 1.351 GB, free: 14.8 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/0.9543, allocations: 0.9326 MB / 1.351 GB, free: 13.89 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.9656, allocations: 10.47 MB / 1.362 GB, free: 3.082 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006977/0.9663, allocations: 1.212 MB / 1.363 GB, free: 1.84 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007572/0.9671, allocations: 294.7 kB / 1.363 GB, free: 1.547 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.9676, allocations: 463.3 kB / 1.364 GB, free: 1.094 MB / 1.092 GB Notification: Performance of SimCode: time 5.71e-07/0.9676, allocations: 0 / 1.364 GB, free: 1.094 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4943/1.462, allocations: 44.03 MB / 1.407 GB, free: 5.547 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.75/11.21, allocations: 11.42 kB / 1.407 GB, free: 5.539 MB / 1.139 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches