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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0007985/0.0007986, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005256/0.005256, allocations: 170 kB / 16.26 MB, free: 6.613 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.441/2.441, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002896/0.0002896, allocations: 14.88 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2408, allocations: 159.6 MB / 1.059 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.7096/0.9504, allocations: 248.7 MB / 1.302 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01941/0.9699, allocations: 20.54 MB / 1.322 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002303/0.9722, allocations: 76.88 kB / 1.322 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.9737, allocations: 0.6576 MB / 1.322 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005525/0.9792, allocations: 2.721 MB / 1.325 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005035/0.9843, allocations: 2.51 MB / 1.328 GB, free: 1.434 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00481/0.9891, allocations: 5.073 MB / 1.332 GB, free: 1.414 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.9904, allocations: 1.048 MB / 1.333 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.9925, allocations: 1.238 MB / 1.335 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009421/0.9935, allocations: 1.046 MB / 1.336 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/0.9936, allocations: 50.66 kB / 1.336 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007336/1.001, allocations: 5.058 MB / 1.341 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004366/1.001, allocations: 0.5978 MB / 1.341 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000852/1.002, allocations: 0.9175 MB / 1.342 GB, free: 17.08 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005393/1.008, allocations: 4.452 MB / 1.347 GB, free: 16.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.008, allocations: 0.75 kB / 1.347 GB, free: 16.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.533e-06/1.008, allocations: 4 kB / 1.347 GB, free: 16.62 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.867e-05/1.008, allocations: 0 / 1.347 GB, free: 16.62 MB / 1.014 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.002341/1.01, allocations: 1.901 MB / 1.348 GB, free: 15.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/1.01, allocations: 12.56 kB / 1.348 GB, free: 15.49 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002168/1.01, allocations: 190.4 kB / 1.349 GB, free: 15.45 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/1.012, allocations: 489.7 kB / 1.349 GB, free: 15.33 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/1.014, allocations: 1.255 MB / 1.35 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/1.014, allocations: 97.3 kB / 1.35 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/1.014, allocations: 121.8 kB / 1.351 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001961/1.016, allocations: 1.717 MB / 1.352 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/1.016, allocations: 8.156 kB / 1.352 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.354e-05/1.016, allocations: 60.75 kB / 1.352 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.985e-05/1.016, allocations: 71.92 kB / 1.352 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/1.017, allocations: 1.218 MB / 1.354 GB, free: 14.49 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.005626/1.023, allocations: 7.566 MB / 1.361 GB, free: 9.934 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006816/1.024, allocations: 0.6585 MB / 1.362 GB, free: 9.691 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005671/1.024, allocations: 0.6242 MB / 1.362 GB, free: 9.605 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/1.026, allocations: 1.87 MB / 1.364 GB, free: 7.535 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/1.026, allocations: 51.2 kB / 1.364 GB, free: 7.496 MB / 1.014 GB Notification: Performance of pre-optimization done (n=72): time 2.234e-06/1.026, allocations: 0 / 1.364 GB, free: 7.496 MB / 1.014 GB Notification: Performance of matching and sorting (n=72): time 0.001828/1.028, allocations: 1.395 MB / 1.365 GB, free: 7.359 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.028, allocations: 293.7 kB / 1.366 GB, free: 7.016 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/1.03, allocations: 1.89 MB / 1.368 GB, free: 6.602 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/1.03, allocations: 39.7 kB / 1.368 GB, free: 6.57 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/1.03, allocations: 0.7236 MB / 1.368 GB, free: 6.379 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001672/1.03, allocations: 256.2 kB / 1.368 GB, free: 6.195 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.494e-05/1.03, allocations: 48.7 kB / 1.369 GB, free: 6.176 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001063/1.03, allocations: 336 kB / 1.369 GB, free: 5.859 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003383/1.031, allocations: 333.5 kB / 1.369 GB, free: 5.805 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/1.031, allocations: 0.5594 MB / 1.37 GB, free: 5.602 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008202/1.032, allocations: 0.8603 MB / 1.371 GB, free: 5.367 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.032, allocations: 5.969 kB / 1.371 GB, free: 5.367 MB / 1.014 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001068/1.033, allocations: 1.008 MB / 1.372 GB, free: 5.129 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/1.033, allocations: 8.5 kB / 1.372 GB, free: 5.129 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.033, allocations: 9.219 kB / 1.372 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.033, allocations: 6.219 kB / 1.372 GB, free: 5.125 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/1.034, allocations: 123.1 kB / 1.372 GB, free: 5.109 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/1.034, allocations: 8.156 kB / 1.372 GB, free: 5.109 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006598/1.034, allocations: 140.8 kB / 1.372 GB, free: 5.023 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.167e-05/1.034, allocations: 44.23 kB / 1.372 GB, free: 5.016 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.0004869/1.035, allocations: 453.7 kB / 1.372 GB, free: 4.859 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/1.035, allocations: 191.2 kB / 1.372 GB, free: 4.758 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/1.037, allocations: 1.084 MB / 1.374 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/1.037, allocations: 15.47 kB / 1.374 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/1.037, allocations: 2.938 kB / 1.374 GB, free: 4.504 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/1.037, allocations: 11.45 kB / 1.374 GB, free: 4.496 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009137/1.046, allocations: 8.792 MB / 1.382 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.046, allocations: 14.5 kB / 1.382 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/1.046, allocations: 146.1 kB / 1.382 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/1.046, allocations: 27.47 kB / 1.382 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.776e-05/1.046, allocations: 38.22 kB / 1.382 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.568e-05/1.046, allocations: 30.77 kB / 1.382 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/1.046, allocations: 21.78 kB / 1.382 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/1.048, allocations: 1.668 MB / 1.384 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/1.048, allocations: 420.2 kB / 1.384 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/1.048, allocations: 34.67 kB / 1.384 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006581/1.049, allocations: 52.56 kB / 1.385 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/1.049, allocations: 101.4 kB / 1.385 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/1.049, allocations: 57.23 kB / 1.385 GB, free: 12.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001535/1.051, allocations: 1.318 MB / 1.386 GB, free: 12.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.051, allocations: 4 kB / 1.386 GB, free: 12.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001547/1.052, allocations: 0.5298 MB / 1.387 GB, free: 11.91 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.003726/1.056, allocations: 3.012 MB / 1.389 GB, free: 9.719 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009672/1.057, allocations: 0.8146 MB / 1.39 GB, free: 9.379 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.057, allocations: 6.031 kB / 1.39 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005091/1.058, allocations: 486.4 kB / 1.391 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008604/1.066, allocations: 1.269 MB / 1.392 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/1.085, allocations: 16.07 MB / 1.408 GB, free: 11.54 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000928/1.086, allocations: 1.41 MB / 1.409 GB, free: 10.1 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001395/1.087, allocations: 481.3 kB / 1.409 GB, free: 9.629 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006971/1.088, allocations: 0.6555 MB / 1.41 GB, free: 8.973 MB / 1.045 GB Notification: Performance of SimCode: time 5.91e-07/1.088, allocations: 3.938 kB / 1.41 GB, free: 8.969 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.071/2.159, allocations: 58.84 MB / 1.468 GB, free: 14.82 MB / 1.107 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/2.16, allocations: 240.3 kB / 1.468 GB, free: 14.56 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.156/5.316, allocations: 0 / 1.468 GB, free: 14.56 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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