Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.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.Boundary,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Validation_Boundary",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.00578/0.00578, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001769/0.001769, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.542/2.542, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.88 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2968, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.9838/1.281, allocations: 253.3 MB / 1.414 GB, free: 2.387 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02791/1.309, allocations: 20.61 MB / 1.434 GB, free: 1.602 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/1.311, allocations: 75.38 kB / 1.434 GB, free: 1.566 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002496/1.314, allocations: 0.8305 MB / 1.435 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008083/1.322, allocations: 3.043 MB / 1.438 GB, free: 14.48 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007197/1.329, allocations: 2.796 MB / 1.44 GB, free: 12.16 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.005373/1.334, allocations: 3.831 MB / 1.444 GB, free: 8.32 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/1.336, allocations: 1.302 MB / 1.445 GB, free: 6.992 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0032/1.34, allocations: 1.456 MB / 1.447 GB, free: 5.535 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001818/1.341, allocations: 0.9799 MB / 1.448 GB, free: 4.551 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003459/1.342, allocations: 108 kB / 1.448 GB, free: 4.445 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009139/1.351, allocations: 3.958 MB / 1.452 GB, free: 488 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0009854/1.352, allocations: 0.6543 MB / 1.452 GB, free: 15.82 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001507/1.354, allocations: 0.9795 MB / 1.453 GB, free: 14.84 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.008986/1.363, allocations: 4.145 MB / 1.457 GB, free: 10.68 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.363, allocations: 0 / 1.457 GB, free: 10.68 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.377e-06/1.363, allocations: 3.938 kB / 1.457 GB, free: 10.68 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.648e-05/1.363, allocations: 3.938 kB / 1.457 GB, free: 10.67 MB / 1.123 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.003596/1.366, allocations: 2.287 MB / 1.459 GB, free: 8.328 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/1.366, allocations: 12.03 kB / 1.459 GB, free: 8.316 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002247/1.367, allocations: 190 kB / 1.46 GB, free: 8.121 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/1.369, allocations: 481 kB / 1.46 GB, free: 7.648 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/1.371, allocations: 1.38 MB / 1.461 GB, free: 6.215 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/1.371, allocations: 98.42 kB / 1.462 GB, free: 6.117 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/1.371, allocations: 124 kB / 1.462 GB, free: 5.996 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/1.374, allocations: 1.715 MB / 1.463 GB, free: 4.141 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/1.374, allocations: 7.938 kB / 1.463 GB, free: 4.133 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/1.374, allocations: 52 kB / 1.463 GB, free: 4.082 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.831e-05/1.374, allocations: 67.86 kB / 1.463 GB, free: 4.016 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/1.376, allocations: 1.223 MB / 1.465 GB, free: 2.793 MB / 1.123 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.007767/1.384, allocations: 7.525 MB / 1.472 GB, free: 10.88 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009119/1.385, allocations: 0.671 MB / 1.473 GB, free: 10.11 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007207/1.386, allocations: 0.6225 MB / 1.473 GB, free: 9.461 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001561/1.387, allocations: 1.875 MB / 1.475 GB, free: 7.18 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/1.387, allocations: 54.48 kB / 1.475 GB, free: 7.117 MB / 1.139 GB Notification: Performance of pre-optimization done (n=72): time 2.625e-06/1.387, allocations: 0 / 1.475 GB, free: 7.117 MB / 1.139 GB Notification: Performance of matching and sorting (n=72): time 0.002438/1.39, allocations: 1.392 MB / 1.477 GB, free: 5.719 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/1.39, allocations: 294.7 kB / 1.477 GB, free: 5.363 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002323/1.392, allocations: 1.892 MB / 1.479 GB, free: 3.434 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.03e-05/1.392, allocations: 41.7 kB / 1.479 GB, free: 3.387 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006238/1.393, allocations: 0.7291 MB / 1.479 GB, free: 2.652 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/1.393, allocations: 248.3 kB / 1.48 GB, free: 2.406 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/1.393, allocations: 134.3 kB / 1.48 GB, free: 2.27 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.393, allocations: 329.9 kB / 1.48 GB, free: 1.941 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/1.394, allocations: 329.1 kB / 1.48 GB, free: 1.617 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006584/1.394, allocations: 0.5625 MB / 1.481 GB, free: 1.008 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009944/1.395, allocations: 0.8567 MB / 1.482 GB, free: 104 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.396, allocations: 4 kB / 1.482 GB, free: 100 kB / 1.139 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00143/1.397, allocations: 1.014 MB / 1.483 GB, free: 15.07 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.397, allocations: 8 kB / 1.483 GB, free: 15.07 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/1.397, allocations: 4 kB / 1.483 GB, free: 15.06 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/1.397, allocations: 4 kB / 1.483 GB, free: 15.06 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/1.397, allocations: 127.8 kB / 1.483 GB, free: 14.93 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/1.397, allocations: 7.938 kB / 1.483 GB, free: 14.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006772/1.398, allocations: 126.4 kB / 1.483 GB, free: 14.8 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.074e-05/1.398, allocations: 43.98 kB / 1.483 GB, free: 14.76 MB / 1.154 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.0006043/1.399, allocations: 461.6 kB / 1.484 GB, free: 14.3 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003678/1.399, allocations: 189.7 kB / 1.484 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/1.401, allocations: 1.08 MB / 1.485 GB, free: 13.02 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.999e-05/1.401, allocations: 16 kB / 1.485 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.401, allocations: 4 kB / 1.485 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/1.401, allocations: 3.984 kB / 1.485 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/1.412, allocations: 8.764 MB / 1.493 GB, free: 3.73 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/1.412, allocations: 16 kB / 1.493 GB, free: 3.715 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004239/1.412, allocations: 139.8 kB / 1.494 GB, free: 3.578 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.876e-05/1.412, allocations: 20 kB / 1.494 GB, free: 3.559 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.556e-05/1.412, allocations: 40.58 kB / 1.494 GB, free: 3.52 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.992e-05/1.413, allocations: 27.88 kB / 1.494 GB, free: 3.492 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.617e-05/1.413, allocations: 31.92 kB / 1.494 GB, free: 3.461 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/1.414, allocations: 1.668 MB / 1.495 GB, free: 1.57 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006631/1.415, allocations: 418.3 kB / 1.496 GB, free: 1.141 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/1.415, allocations: 35.92 kB / 1.496 GB, free: 1.105 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006013/1.416, allocations: 24 kB / 1.496 GB, free: 1.082 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/1.416, allocations: 111.5 kB / 1.496 GB, free: 0.9727 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.092e-05/1.416, allocations: 55.98 kB / 1.496 GB, free: 0.918 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001749/1.418, allocations: 1.316 MB / 1.497 GB, free: 15.58 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.71e-07/1.418, allocations: 0 / 1.497 GB, free: 15.58 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001753/1.42, allocations: 0.5192 MB / 1.498 GB, free: 15.06 MB / 1.17 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.004081/1.424, allocations: 3 MB / 1.501 GB, free: 11.84 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001357/1.425, allocations: 0.8482 MB / 1.501 GB, free: 10.99 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.363e-05/1.425, allocations: 4 kB / 1.501 GB, free: 10.98 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.000645/1.426, allocations: 491.1 kB / 1.502 GB, free: 10.51 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005446/1.431, allocations: 1.332 MB / 1.503 GB, free: 9.215 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/1.451, allocations: 13.86 MB / 1.517 GB, free: 10.67 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/1.452, allocations: 1.406 MB / 1.518 GB, free: 9.234 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001606/1.454, allocations: 486.7 kB / 1.519 GB, free: 8.754 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008514/1.454, allocations: 0.6555 MB / 1.519 GB, free: 8.098 MB / 1.186 GB Notification: Performance of SimCode: time 7.52e-07/1.454, allocations: 4 kB / 1.519 GB, free: 8.094 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.555, allocations: 60.07 MB / 1.578 GB, free: 12.59 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/13.41, allocations: 8.047 kB / 1.578 GB, free: 12.58 MB / 1.248 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Validation.Boundary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches