Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.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.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithX_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in",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.0009621/0.000962, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007557/0.007557, allocations: 168.4 kB / 16.26 MB, free: 6.652 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.197/1.197, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.416/2.416, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003034/0.0003034, allocations: 9.656 kB / 0.9029 GB, free: 36.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2434, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6834/0.9268, allocations: 209.6 MB / 1.263 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.9377, allocations: 12.13 MB / 1.275 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008796/0.9386, allocations: 45.03 kB / 1.275 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000891/0.9395, allocations: 409.5 kB / 1.276 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.9429, allocations: 1.758 MB / 1.277 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003504/0.9464, allocations: 1.737 MB / 1.279 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003187/0.9496, allocations: 3.044 MB / 1.282 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.9508, allocations: 1.02 MB / 1.283 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001035/0.9519, allocations: 0.6775 MB / 1.284 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009065/0.9528, allocations: 0.6614 MB / 1.284 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.9529, allocations: 36.5 kB / 1.284 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005794/0.9587, allocations: 3.514 MB / 1.288 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004916/0.9592, allocations: 495 kB / 1.288 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007941/0.96, allocations: 0.6723 MB / 1.289 GB, free: 18.21 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004055/0.9641, allocations: 3.331 MB / 1.292 GB, free: 18.05 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.9641, allocations: 0 / 1.292 GB, free: 18.05 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.863e-06/0.9641, allocations: 1.094 kB / 1.292 GB, free: 18.05 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.9641, allocations: 0 / 1.292 GB, free: 18.05 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001843/0.966, allocations: 1.44 MB / 1.294 GB, free: 17.16 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.966, allocations: 13.66 kB / 1.294 GB, free: 17.15 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.9662, allocations: 173.9 kB / 1.294 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.9677, allocations: 377.1 kB / 1.294 GB, free: 17.03 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.9688, allocations: 0.8925 MB / 1.295 GB, free: 16.68 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/0.9689, allocations: 82.58 kB / 1.295 GB, free: 16.67 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.969, allocations: 97.16 kB / 1.295 GB, free: 16.67 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.9708, allocations: 1.536 MB / 1.297 GB, free: 16.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.9709, allocations: 8.812 kB / 1.297 GB, free: 16.37 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.142e-05/0.971, allocations: 48.89 kB / 1.297 GB, free: 16.37 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.901e-05/0.971, allocations: 56.17 kB / 1.297 GB, free: 16.37 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.9723, allocations: 1.018 MB / 1.298 GB, free: 16.36 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.004973/0.9772, allocations: 5.913 MB / 1.304 GB, free: 12.88 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.9777, allocations: 333.8 kB / 1.304 GB, free: 12.78 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/0.978, allocations: 251.6 kB / 1.304 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000637/0.9786, allocations: 0.7079 MB / 1.305 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.9787, allocations: 40.08 kB / 1.305 GB, free: 11.95 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 1.953e-06/0.9787, allocations: 0 / 1.305 GB, free: 11.95 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.0011/0.9798, allocations: 0.6716 MB / 1.306 GB, free: 11.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.9798, allocations: 134.4 kB / 1.306 GB, free: 11.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/0.9816, allocations: 1.679 MB / 1.307 GB, free: 11.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.9817, allocations: 34.62 kB / 1.307 GB, free: 11.49 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003885/0.9821, allocations: 0.5563 MB / 1.308 GB, free: 11.38 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.9821, allocations: 97.12 kB / 1.308 GB, free: 11.32 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.405e-05/0.9822, allocations: 31.88 kB / 1.308 GB, free: 11.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.9823, allocations: 316.4 kB / 1.308 GB, free: 11 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.9825, allocations: 157.6 kB / 1.309 GB, free: 11 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.9828, allocations: 268.8 kB / 1.309 GB, free: 10.92 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.9831, allocations: 412.1 kB / 1.309 GB, free: 10.83 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9832, allocations: 0 / 1.309 GB, free: 10.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006225/0.9838, allocations: 0.5441 MB / 1.31 GB, free: 10.72 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.9838, allocations: 6.438 kB / 1.31 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.9838, allocations: 1.469 kB / 1.31 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.9838, allocations: 5.062 kB / 1.31 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.984, allocations: 54.45 kB / 1.31 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.9841, allocations: 10.91 kB / 1.31 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.9846, allocations: 115.1 kB / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-05/0.9846, allocations: 19.81 kB / 1.31 GB, free: 10.64 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (30): * Single equations (assignments): 30 * 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.0003599/0.985, allocations: 390.6 kB / 1.31 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.9852, allocations: 135.2 kB / 1.31 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004875/0.9857, allocations: 386.5 kB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.9857, allocations: 2.969 kB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.9857, allocations: 1.281 kB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.9857, allocations: 1.25 kB / 1.311 GB, free: 10.36 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/0.9885, allocations: 2.571 MB / 1.313 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.9885, allocations: 4.75 kB / 1.313 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.9887, allocations: 51.19 kB / 1.313 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.9887, allocations: 8.047 kB / 1.313 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.9887, allocations: 12.56 kB / 1.313 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.55e-05/0.9888, allocations: 15.56 kB / 1.313 GB, free: 9.387 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.9888, allocations: 8.719 kB / 1.313 GB, free: 9.387 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005812/0.9894, allocations: 0.6247 MB / 1.314 GB, free: 9.027 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/0.9897, allocations: 309.7 kB / 1.314 GB, free: 8.855 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.9899, allocations: 18.62 kB / 1.314 GB, free: 8.852 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.9902, allocations: 14.53 kB / 1.314 GB, free: 8.852 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.759e-05/0.9903, allocations: 37.81 kB / 1.314 GB, free: 8.844 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.9903, allocations: 14.66 kB / 1.314 GB, free: 8.844 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001132/0.9915, allocations: 1.227 MB / 1.316 GB, free: 8.734 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9915, allocations: 0 / 1.316 GB, free: 8.734 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009337/0.9924, allocations: 342 kB / 1.316 GB, free: 8.695 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (26): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.00209/0.9945, allocations: 1.687 MB / 1.318 GB, free: 7.711 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003822/0.9949, allocations: 339.1 kB / 1.318 GB, free: 7.703 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.9949, allocations: 2.469 kB / 1.318 GB, free: 7.703 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.9951, allocations: 160 kB / 1.318 GB, free: 7.703 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004532/0.9996, allocations: 0.8838 MB / 1.319 GB, free: 7.621 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/1.013, allocations: 11.8 MB / 1.33 GB, free: 3.215 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/1.014, allocations: 1.21 MB / 1.332 GB, free: 2.496 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000763/1.014, allocations: 290.2 kB / 1.332 GB, free: 2.441 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004024/1.015, allocations: 464 kB / 1.332 GB, free: 2.434 MB / 1.014 GB Notification: Performance of SimCode: time 1.082e-06/1.015, allocations: 0 / 1.332 GB, free: 2.434 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.345/2.36, allocations: 41.65 MB / 1.373 GB, free: 14.2 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/2.36, allocations: 242.3 kB / 1.373 GB, free: 13.95 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.228/5.588, allocations: 2.906 kB / 1.373 GB, free: 13.95 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithX_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithX_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithX_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches