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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001663/0.001663, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001754/0.001754, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.261/1.261, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.09/2.09, allocations: 390.2 MB / 0.6643 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4823/0.4835, allocations: 140.4 MB / 0.949 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Boundary): time 0.2406/0.7241, allocations: 252.1 MB / 1.195 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02373/0.7479, allocations: 20.77 MB / 1.216 GB, free: 272 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.7502, allocations: 83.31 kB / 1.216 GB, free: 188 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.7523, allocations: 0.6599 MB / 1.216 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006345/0.7587, allocations: 2.723 MB / 1.219 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005654/0.7644, allocations: 2.511 MB / 1.221 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005138/0.7696, allocations: 5.063 MB / 1.226 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.7712, allocations: 1.066 MB / 1.227 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002406/0.7736, allocations: 1.244 MB / 1.229 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001537/0.7752, allocations: 1.069 MB / 1.23 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002493/0.7754, allocations: 56 kB / 1.23 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008351/0.7838, allocations: 5.061 MB / 1.235 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006602/0.7845, allocations: 0.5997 MB / 1.235 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.7858, allocations: 0.9053 MB / 1.236 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00648/0.7923, allocations: 4.476 MB / 1.24 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7923, allocations: 4 kB / 1.24 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.11e-07/0.7923, allocations: 0 / 1.24 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.024e-05/0.7924, allocations: 0 / 1.24 GB, free: 6.66 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.003446/0.7958, allocations: 2.299 MB / 1.243 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.7959, allocations: 12.03 kB / 1.243 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002717/0.7962, allocations: 194 kB / 1.243 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/0.7982, allocations: 481 kB / 1.243 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.8001, allocations: 1.263 MB / 1.245 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/0.8002, allocations: 98.44 kB / 1.245 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.8003, allocations: 120 kB / 1.245 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.8027, allocations: 1.715 MB / 1.246 GB, free: 240 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.8027, allocations: 3.938 kB / 1.246 GB, free: 236 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.499e-05/0.8028, allocations: 55.98 kB / 1.247 GB, free: 180 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.216e-05/0.8029, allocations: 71.91 kB / 1.247 GB, free: 108 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3554/1.158, allocations: 1.209 MB / 1.248 GB, free: 287.2 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.00591/1.164, allocations: 7.563 MB / 1.255 GB, free: 281.7 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000758/1.165, allocations: 0.666 MB / 1.256 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006369/1.166, allocations: 0.6199 MB / 1.256 GB, free: 281 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/1.167, allocations: 1.867 MB / 1.258 GB, free: 278.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/1.167, allocations: 52.42 kB / 1.258 GB, free: 278.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=72): time 3.336e-06/1.167, allocations: 7.531 kB / 1.258 GB, free: 278.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72): time 0.002189/1.169, allocations: 1.382 MB / 1.26 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/1.169, allocations: 299.7 kB / 1.26 GB, free: 278 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002246/1.171, allocations: 1.892 MB / 1.262 GB, free: 277.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/1.171, allocations: 42.73 kB / 1.262 GB, free: 277.2 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005091/1.172, allocations: 0.7294 MB / 1.263 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001486/1.172, allocations: 246.1 kB / 1.263 GB, free: 276.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/1.172, allocations: 135.4 kB / 1.263 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.452e-05/1.172, allocations: 324.6 kB / 1.263 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/1.173, allocations: 330 kB / 1.264 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007095/1.174, allocations: 0.5663 MB / 1.264 GB, free: 275.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009767/1.174, allocations: 0.8618 MB / 1.265 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.175, allocations: 5.281 kB / 1.265 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001174/1.176, allocations: 1.012 MB / 1.266 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.176, allocations: 6.938 kB / 1.266 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/1.176, allocations: 2.875 kB / 1.266 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.176, allocations: 6.5 kB / 1.266 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003946/1.176, allocations: 121 kB / 1.266 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/1.176, allocations: 14.62 kB / 1.266 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006909/1.177, allocations: 136.4 kB / 1.266 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.986e-05/1.177, allocations: 46.08 kB / 1.266 GB, free: 274.3 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.0004608/1.177, allocations: 455.1 kB / 1.267 GB, free: 274 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003289/1.178, allocations: 197.2 kB / 1.267 GB, free: 273.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001367/1.179, allocations: 1.079 MB / 1.268 GB, free: 273.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/1.179, allocations: 9.156 kB / 1.268 GB, free: 273.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/1.179, allocations: 11 kB / 1.268 GB, free: 273.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.179, allocations: 6.672 kB / 1.268 GB, free: 273.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009119/1.188, allocations: 8.937 MB / 1.277 GB, free: 267 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.62e-05/1.188, allocations: 15.47 kB / 1.277 GB, free: 267 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003961/1.189, allocations: 144.9 kB / 1.277 GB, free: 267 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-05/1.189, allocations: 20.09 kB / 1.277 GB, free: 267 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/1.189, allocations: 45.86 kB / 1.277 GB, free: 267 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-05/1.189, allocations: 33.48 kB / 1.277 GB, free: 267 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-05/1.189, allocations: 24.31 kB / 1.277 GB, free: 267 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/1.19, allocations: 1.67 MB / 1.279 GB, free: 265.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005044/1.191, allocations: 412.5 kB / 1.279 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/1.191, allocations: 34.98 kB / 1.279 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006566/1.192, allocations: 44.61 kB / 1.279 GB, free: 265.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.192, allocations: 103.3 kB / 1.279 GB, free: 265.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.272e-05/1.192, allocations: 52.22 kB / 1.279 GB, free: 265.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001399/1.193, allocations: 1.32 MB / 1.28 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.193, allocations: 0 / 1.28 GB, free: 264.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001532/1.195, allocations: 0.5219 MB / 1.281 GB, free: 264.4 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.003427/1.198, allocations: 3.026 MB / 1.284 GB, free: 262.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009827/1.199, allocations: 0.8202 MB / 1.285 GB, free: 262 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/1.199, allocations: 1.625 kB / 1.285 GB, free: 262 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005168/1.2, allocations: 483.8 kB / 1.285 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00486/1.205, allocations: 1.273 MB / 1.286 GB, free: 261.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/1.221, allocations: 16.05 MB / 1.302 GB, free: 247.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006433/1.221, allocations: 1.402 MB / 1.303 GB, free: 246 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001379/1.223, allocations: 478.1 kB / 1.304 GB, free: 245.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005599/1.223, allocations: 0.6555 MB / 1.305 GB, free: 244.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/1.223, allocations: 0 / 1.305 GB, free: 244.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8323/2.055, allocations: 59.28 MB / 1.362 GB, free: 186.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/2.056, allocations: 234.1 kB / 1.363 GB, free: 186 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.076/5.132, allocations: 0 / 1.363 GB, free: 186 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Validation.Boundary_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Validation_Boundary_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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