Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_10_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.008055/0.008056, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001898/0.001898, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.699/2.699, allocations: 437.1 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2849, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.9448/1.23, allocations: 214.1 MB / 1.375 GB, free: 1.613 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01983/1.25, allocations: 12.16 MB / 1.387 GB, free: 7.941 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/1.252, allocations: 43.78 kB / 1.387 GB, free: 7.922 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002068/1.254, allocations: 0.5151 MB / 1.388 GB, free: 7.453 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006605/1.261, allocations: 1.95 MB / 1.39 GB, free: 5.973 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005926/1.267, allocations: 1.934 MB / 1.391 GB, free: 4.555 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003943/1.271, allocations: 2.348 MB / 1.394 GB, free: 3.172 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/1.273, allocations: 1.238 MB / 1.395 GB, free: 2.484 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/1.275, allocations: 0.8441 MB / 1.396 GB, free: 1.992 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/1.276, allocations: 0.6584 MB / 1.396 GB, free: 1.594 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003226/1.277, allocations: 94.94 kB / 1.396 GB, free: 1.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00695/1.284, allocations: 2.708 MB / 1.399 GB, free: 52 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0008726/1.285, allocations: 0.5458 MB / 1.4 GB, free: 15.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001809/1.286, allocations: 0.7359 MB / 1.4 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006921/1.293, allocations: 3.115 MB / 1.403 GB, free: 13.33 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.293, allocations: 0 / 1.403 GB, free: 13.33 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.664e-06/1.293, allocations: 0 / 1.403 GB, free: 13.33 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.476e-05/1.293, allocations: 0 / 1.403 GB, free: 13.33 MB / 1.076 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.003856/1.297, allocations: 1.737 MB / 1.405 GB, free: 12.01 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.297, allocations: 9.75 kB / 1.405 GB, free: 12.01 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003774/1.298, allocations: 174.2 kB / 1.405 GB, free: 11.87 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/1.3, allocations: 379.8 kB / 1.406 GB, free: 11.69 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/1.302, allocations: 0.9587 MB / 1.407 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/1.302, allocations: 80.77 kB / 1.407 GB, free: 10.92 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/1.302, allocations: 99.28 kB / 1.407 GB, free: 10.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002539/1.305, allocations: 1.529 MB / 1.408 GB, free: 9.895 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/1.305, allocations: 1.938 kB / 1.408 GB, free: 9.895 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/1.305, allocations: 48.69 kB / 1.408 GB, free: 9.859 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.47e-05/1.305, allocations: 65.42 kB / 1.408 GB, free: 9.844 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001605/1.307, allocations: 1.022 MB / 1.409 GB, free: 9.348 MB / 1.076 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.007511/1.314, allocations: 5.846 MB / 1.415 GB, free: 4.266 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006151/1.315, allocations: 325.9 kB / 1.415 GB, free: 4.043 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/1.315, allocations: 245.5 kB / 1.416 GB, free: 3.906 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008012/1.316, allocations: 0.7106 MB / 1.416 GB, free: 3.117 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/1.316, allocations: 43.73 kB / 1.416 GB, free: 3.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=28): time 2.795e-06/1.316, allocations: 0 / 1.416 GB, free: 3.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=28): time 0.001467/1.317, allocations: 0.6746 MB / 1.417 GB, free: 2.723 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/1.317, allocations: 130.8 kB / 1.417 GB, free: 2.566 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002324/1.32, allocations: 1.68 MB / 1.419 GB, free: 1.355 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/1.32, allocations: 37.7 kB / 1.419 GB, free: 1.312 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005699/1.32, allocations: 0.5621 MB / 1.419 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.588e-05/1.321, allocations: 94.56 kB / 1.419 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/1.321, allocations: 61.7 kB / 1.42 GB, free: 0.5859 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.321, allocations: 322 kB / 1.42 GB, free: 272 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/1.321, allocations: 155.9 kB / 1.42 GB, free: 116 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/1.321, allocations: 266 kB / 1.42 GB, free: 15.82 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005276/1.322, allocations: 405.8 kB / 1.421 GB, free: 15.4 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.322, allocations: 4 kB / 1.421 GB, free: 15.39 MB / 1.092 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009197/1.323, allocations: 0.547 MB / 1.421 GB, free: 14.84 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.323, allocations: 11.94 kB / 1.421 GB, free: 14.83 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.323, allocations: 160 / 1.421 GB, free: 14.83 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.323, allocations: 4 kB / 1.421 GB, free: 14.82 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/1.323, allocations: 55.91 kB / 1.421 GB, free: 14.77 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/1.323, allocations: 15.86 kB / 1.421 GB, free: 14.75 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006821/1.324, allocations: 110.5 kB / 1.421 GB, free: 14.64 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/1.324, allocations: 20 kB / 1.421 GB, free: 14.62 MB / 1.092 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.0005281/1.325, allocations: 381.8 kB / 1.422 GB, free: 14.24 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/1.325, allocations: 138.2 kB / 1.422 GB, free: 14.11 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006767/1.326, allocations: 377.4 kB / 1.422 GB, free: 13.71 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/1.326, allocations: 4 kB / 1.422 GB, free: 13.71 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.326, allocations: 3.938 kB / 1.422 GB, free: 13.7 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.326, allocations: 3.984 kB / 1.422 GB, free: 13.7 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004538/1.33, allocations: 2.525 MB / 1.425 GB, free: 10.99 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/1.33, allocations: 8 kB / 1.425 GB, free: 10.98 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/1.33, allocations: 47.92 kB / 1.425 GB, free: 10.94 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/1.33, allocations: 8.812 kB / 1.425 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/1.33, allocations: 20 kB / 1.425 GB, free: 10.91 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/1.33, allocations: 19.92 kB / 1.425 GB, free: 10.89 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/1.33, allocations: 7.938 kB / 1.425 GB, free: 10.88 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/1.331, allocations: 0.6184 MB / 1.425 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005417/1.332, allocations: 291.2 kB / 1.426 GB, free: 9.859 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/1.332, allocations: 19.89 kB / 1.426 GB, free: 9.84 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004381/1.333, allocations: 12 kB / 1.426 GB, free: 9.828 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.851e-05/1.333, allocations: 35.8 kB / 1.426 GB, free: 9.793 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/1.333, allocations: 16 kB / 1.426 GB, free: 9.777 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001818/1.335, allocations: 1.227 MB / 1.427 GB, free: 8.555 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.71e-07/1.335, allocations: 0 / 1.427 GB, free: 8.555 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001285/1.336, allocations: 315.9 kB / 1.427 GB, free: 8.246 MB / 1.092 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.00281/1.339, allocations: 1.67 MB / 1.429 GB, free: 6.48 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006621/1.339, allocations: 356.9 kB / 1.429 GB, free: 6.133 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/1.339, allocations: 4 kB / 1.429 GB, free: 6.129 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002343/1.34, allocations: 157.6 kB / 1.429 GB, free: 5.977 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004137/1.344, allocations: 0.9237 MB / 1.43 GB, free: 5.078 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/1.36, allocations: 10.47 MB / 1.441 GB, free: 10.26 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.361, allocations: 1.208 MB / 1.442 GB, free: 9.023 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001012/1.362, allocations: 306.6 kB / 1.442 GB, free: 8.719 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000604/1.363, allocations: 463.3 kB / 1.442 GB, free: 8.266 MB / 1.107 GB Notification: Performance of SimCode: time 2.745e-06/1.363, allocations: 0 / 1.442 GB, free: 8.266 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08625/1.449, allocations: 44.03 MB / 1.485 GB, free: 12.71 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.73, allocations: 23.69 kB / 1.485 GB, free: 12.68 MB / 1.154 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches