Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Boundary,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Validation_Boundary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Boundary,fileNamePrefix="Buildings_9_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.001661/0.001661, allocations: 108 kB / 15.61 MB, free: 152 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.001932/0.001932, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.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.267/2.267, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 67.89 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.5634, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2342/0.7976, allocations: 253.3 MB / 1.197 GB, free: 3.57 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02329/0.821, allocations: 20.6 MB / 1.217 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.8234, allocations: 71.5 kB / 1.217 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001994/0.8254, allocations: 0.8259 MB / 1.218 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007026/0.8325, allocations: 2.912 MB / 1.221 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006009/0.8385, allocations: 2.738 MB / 1.224 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004401/0.8429, allocations: 3.816 MB / 1.227 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.8446, allocations: 1.308 MB / 1.229 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.847, allocations: 1.423 MB / 1.23 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.8481, allocations: 0.9837 MB / 1.231 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.8483, allocations: 108 kB / 1.231 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007952/0.8562, allocations: 4.185 MB / 1.235 GB, free: 12.47 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007391/0.857, allocations: 0.6465 MB / 1.236 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/0.8582, allocations: 0.9756 MB / 1.237 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007099/0.8653, allocations: 4.204 MB / 1.241 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.8654, allocations: 0 / 1.241 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8654, allocations: 0 / 1.241 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.813e-05/0.8654, allocations: 0 / 1.241 GB, free: 6.629 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.003074/0.8685, allocations: 2.299 MB / 1.243 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.8686, allocations: 12.03 kB / 1.243 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002112/0.8688, allocations: 186 kB / 1.243 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/0.871, allocations: 489 kB / 1.244 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.8728, allocations: 1.263 MB / 1.245 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.766e-05/0.8728, allocations: 94.42 kB / 1.245 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.873, allocations: 124 kB / 1.245 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002297/0.8753, allocations: 1.712 MB / 1.247 GB, free: 212 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.8753, allocations: 7.922 kB / 1.247 GB, free: 204 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.402e-05/0.8754, allocations: 52 kB / 1.247 GB, free: 152 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.337e-05/0.8755, allocations: 71.84 kB / 1.247 GB, free: 80 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.415/1.29, allocations: 1.219 MB / 1.248 GB, free: 287.4 MB / 0.9981 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.006553/1.297, allocations: 7.572 MB / 1.256 GB, free: 281.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007989/1.298, allocations: 0.6674 MB / 1.256 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006465/1.299, allocations: 0.6098 MB / 1.257 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/1.3, allocations: 1.874 MB / 1.259 GB, free: 279.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/1.3, allocations: 56.14 kB / 1.259 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 2.665e-06/1.3, allocations: 0 / 1.259 GB, free: 279.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.002696/1.302, allocations: 1.382 MB / 1.26 GB, free: 278.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/1.303, allocations: 307.6 kB / 1.26 GB, free: 278.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/1.305, allocations: 1.887 MB / 1.262 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-05/1.305, allocations: 43.08 kB / 1.262 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005426/1.306, allocations: 0.7235 MB / 1.263 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/1.306, allocations: 249.7 kB / 1.263 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/1.306, allocations: 131.3 kB / 1.263 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.805e-05/1.306, allocations: 336.3 kB / 1.264 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/1.307, allocations: 326.3 kB / 1.264 GB, free: 276 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007727/1.308, allocations: 0.5585 MB / 1.264 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/1.309, allocations: 0.8639 MB / 1.265 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.309, allocations: 1.5 kB / 1.265 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001272/1.31, allocations: 1.009 MB / 1.266 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.31, allocations: 10 kB / 1.266 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/1.31, allocations: 4 kB / 1.266 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/1.31, allocations: 6.719 kB / 1.266 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/1.311, allocations: 120 kB / 1.266 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/1.311, allocations: 14.47 kB / 1.266 GB, free: 274.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007339/1.311, allocations: 127.5 kB / 1.267 GB, free: 274.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.751e-05/1.311, allocations: 42.48 kB / 1.267 GB, free: 274.5 MB / 0.9981 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.0005072/1.312, allocations: 461.9 kB / 1.267 GB, free: 274.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/1.312, allocations: 191.4 kB / 1.267 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/1.314, allocations: 1.085 MB / 1.268 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/1.314, allocations: 10.28 kB / 1.268 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.314, allocations: 6.75 kB / 1.268 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/1.314, allocations: 6.734 kB / 1.268 GB, free: 273.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009542/1.323, allocations: 8.941 MB / 1.277 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/1.323, allocations: 18.97 kB / 1.277 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/1.324, allocations: 145.4 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.041e-05/1.324, allocations: 19.53 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/1.324, allocations: 35.06 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.987e-05/1.324, allocations: 37.77 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.344e-05/1.324, allocations: 21.34 kB / 1.277 GB, free: 267.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/1.326, allocations: 1.677 MB / 1.279 GB, free: 265.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000709/1.326, allocations: 417 kB / 1.279 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/1.327, allocations: 37.61 kB / 1.279 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/1.327, allocations: 27.12 kB / 1.279 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.327, allocations: 106.6 kB / 1.28 GB, free: 265.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-05/1.327, allocations: 52.61 kB / 1.28 GB, free: 265.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00172/1.329, allocations: 1.319 MB / 1.281 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.329, allocations: 1.156 kB / 1.281 GB, free: 264.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001587/1.331, allocations: 0.5315 MB / 1.281 GB, free: 264.6 MB / 0.9981 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.003827/1.335, allocations: 3.01 MB / 1.284 GB, free: 262.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001134/1.336, allocations: 0.8586 MB / 1.285 GB, free: 262.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/1.336, allocations: 2.875 kB / 1.285 GB, free: 262.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005177/1.336, allocations: 487.2 kB / 1.286 GB, free: 262 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005294/1.342, allocations: 1.338 MB / 1.287 GB, free: 261.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01317/1.355, allocations: 15.63 MB / 1.302 GB, free: 247.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/1.355, allocations: 1.406 MB / 1.304 GB, free: 246 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001326/1.357, allocations: 487.5 kB / 1.304 GB, free: 245.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005527/1.357, allocations: 0.6516 MB / 1.305 GB, free: 244.9 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.357, allocations: 0 / 1.305 GB, free: 244.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07641/1.434, allocations: 60.88 MB / 1.364 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.05/10.48, allocations: 3.938 kB / 1.364 GB, free: 184.6 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Sources_Validation_Boundary.fmu > Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Validation_Boundary.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Validation.Boundary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches