Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_latest_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.001542/0.001542, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.649/2.649, allocations: 469.4 MB / 0.742 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 62.8 kB / 0.9082 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2628, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.7387/1.002, allocations: 253.3 MB / 1.311 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0221/1.024, allocations: 20.59 MB / 1.331 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/1.027, allocations: 73.94 kB / 1.331 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002077/1.029, allocations: 0.8336 MB / 1.332 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007825/1.037, allocations: 2.915 MB / 1.335 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007405/1.044, allocations: 2.735 MB / 1.338 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005213/1.049, allocations: 3.817 MB / 1.341 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/1.051, allocations: 1.302 MB / 1.343 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002933/1.054, allocations: 1.424 MB / 1.344 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/1.056, allocations: 0.9806 MB / 1.345 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000201/1.056, allocations: 108.2 kB / 1.345 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008385/1.064, allocations: 4.189 MB / 1.349 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006945/1.065, allocations: 0.6464 MB / 1.35 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/1.066, allocations: 0.9774 MB / 1.351 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007354/1.074, allocations: 4.211 MB / 1.355 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/1.074, allocations: 0 / 1.355 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.282e-06/1.074, allocations: 0 / 1.355 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.896e-05/1.074, allocations: 0 / 1.355 GB, free: 1.633 MB / 0.9981 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.00282/1.077, allocations: 2.286 MB / 1.357 GB, free: 16.16 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/1.077, allocations: 8.156 kB / 1.357 GB, free: 16.16 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/1.077, allocations: 199.4 kB / 1.357 GB, free: 16.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/1.079, allocations: 482.2 kB / 1.358 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/1.081, allocations: 1.258 MB / 1.359 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.787e-05/1.081, allocations: 91.56 kB / 1.359 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/1.081, allocations: 122.6 kB / 1.359 GB, free: 15.14 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/1.083, allocations: 1.717 MB / 1.361 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/1.083, allocations: 6.969 kB / 1.361 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/1.083, allocations: 60.98 kB / 1.361 GB, free: 14.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-05/1.083, allocations: 72.25 kB / 1.361 GB, free: 14.21 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/1.085, allocations: 1.225 MB / 1.362 GB, free: 13.82 MB / 1.014 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.006405/1.091, allocations: 7.579 MB / 1.37 GB, free: 8.164 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008272/1.092, allocations: 0.662 MB / 1.37 GB, free: 7.762 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006145/1.093, allocations: 0.6179 MB / 1.371 GB, free: 7.492 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001491/1.094, allocations: 1.866 MB / 1.373 GB, free: 5.402 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/1.094, allocations: 51.8 kB / 1.373 GB, free: 5.355 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 2.585e-06/1.094, allocations: 0 / 1.373 GB, free: 5.355 MB / 1.014 GB Notification: Performance of matching and sorting (n=72): time 0.002171/1.096, allocations: 1.402 MB / 1.374 GB, free: 4.848 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/1.096, allocations: 293.5 kB / 1.374 GB, free: 4.504 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/1.099, allocations: 1.886 MB / 1.376 GB, free: 3.789 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.076e-05/1.099, allocations: 42.98 kB / 1.376 GB, free: 3.75 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005893/1.099, allocations: 0.728 MB / 1.377 GB, free: 3.168 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/1.1, allocations: 247.8 kB / 1.377 GB, free: 2.977 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/1.1, allocations: 134.5 kB / 1.377 GB, free: 2.918 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/1.1, allocations: 332.3 kB / 1.378 GB, free: 2.602 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003685/1.1, allocations: 327.5 kB / 1.378 GB, free: 2.496 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/1.101, allocations: 0.5655 MB / 1.378 GB, free: 2.211 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000908/1.102, allocations: 0.8607 MB / 1.379 GB, free: 1.805 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.872e-06/1.102, allocations: 0 / 1.379 GB, free: 1.805 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001343/1.103, allocations: 1.009 MB / 1.38 GB, free: 1.379 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.103, allocations: 13.58 kB / 1.38 GB, free: 1.375 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.103, allocations: 2.438 kB / 1.38 GB, free: 1.375 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.103, allocations: 12.38 kB / 1.38 GB, free: 1.371 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/1.104, allocations: 117.2 kB / 1.38 GB, free: 1.355 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.104, allocations: 11.62 kB / 1.38 GB, free: 1.355 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/1.104, allocations: 122.6 kB / 1.381 GB, free: 1.266 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.374e-05/1.104, allocations: 49.67 kB / 1.381 GB, free: 1.25 MB / 1.014 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.0005825/1.105, allocations: 456.3 kB / 1.381 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004167/1.105, allocations: 187.5 kB / 1.381 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/1.107, allocations: 1.092 MB / 1.382 GB, free: 280 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/1.107, allocations: 10.5 kB / 1.382 GB, free: 280 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.107, allocations: 2.5 kB / 1.382 GB, free: 280 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/1.107, allocations: 6.297 kB / 1.382 GB, free: 276 kB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/1.118, allocations: 8.941 MB / 1.391 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-05/1.118, allocations: 13.72 kB / 1.391 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/1.118, allocations: 148.1 kB / 1.391 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.802e-05/1.118, allocations: 21.53 kB / 1.391 GB, free: 10 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/1.118, allocations: 40.16 kB / 1.391 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.736e-05/1.118, allocations: 30.86 kB / 1.391 GB, free: 9.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/1.119, allocations: 27.56 kB / 1.391 GB, free: 9.977 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001709/1.12, allocations: 1.67 MB / 1.393 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007487/1.121, allocations: 414.9 kB / 1.393 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/1.121, allocations: 35.64 kB / 1.393 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00078/1.122, allocations: 25.62 kB / 1.393 GB, free: 8.289 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/1.122, allocations: 105.3 kB / 1.393 GB, free: 8.238 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/1.122, allocations: 53.06 kB / 1.394 GB, free: 8.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001877/1.124, allocations: 1.32 MB / 1.395 GB, free: 7.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 2e-07/1.124, allocations: 0 / 1.395 GB, free: 7.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001838/1.126, allocations: 0.5288 MB / 1.395 GB, free: 7.379 MB / 1.029 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.004452/1.131, allocations: 3.022 MB / 1.398 GB, free: 5.172 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001297/1.132, allocations: 0.8609 MB / 1.399 GB, free: 4.812 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/1.132, allocations: 2.844 kB / 1.399 GB, free: 4.812 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0006302/1.133, allocations: 488.6 kB / 1.4 GB, free: 4.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006248/1.139, allocations: 1.346 MB / 1.401 GB, free: 3.957 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0211/1.16, allocations: 15.61 MB / 1.416 GB, free: 4.363 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/1.161, allocations: 1.41 MB / 1.418 GB, free: 2.926 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001642/1.163, allocations: 490.5 kB / 1.418 GB, free: 2.441 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008337/1.164, allocations: 0.6555 MB / 1.419 GB, free: 1.785 MB / 1.045 GB Notification: Performance of SimCode: time 8.32e-07/1.164, allocations: 0 / 1.419 GB, free: 1.785 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09944/1.263, allocations: 60.87 MB / 1.478 GB, free: 5.559 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.904/10.17, allocations: 3.75 kB / 1.478 GB, free: 5.559 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches