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.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.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.001595/0.001595, 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.00174/0.00174, allocations: 194.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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 461.9 MB / 0.7347 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 65.95 kB / 0.8992 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2459, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithX_in): time 0.6759/0.9217, allocations: 214.1 MB / 1.262 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0111/0.9329, allocations: 12.16 MB / 1.274 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.934, allocations: 44.17 kB / 1.274 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009902/0.935, allocations: 0.5097 MB / 1.274 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003613/0.9386, allocations: 1.878 MB / 1.276 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.9426, allocations: 1.902 MB / 1.278 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002535/0.9452, allocations: 2.342 MB / 1.28 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.9467, allocations: 1.232 MB / 1.282 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.9479, allocations: 0.8264 MB / 1.282 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008554/0.9488, allocations: 0.6605 MB / 1.283 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.949, allocations: 91.91 kB / 1.283 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00547/0.9545, allocations: 2.842 MB / 1.286 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005319/0.955, allocations: 0.5424 MB / 1.286 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007704/0.9558, allocations: 0.7366 MB / 1.287 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003898/0.9597, allocations: 3.14 MB / 1.29 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9597, allocations: 1.938 kB / 1.29 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9597, allocations: 3.188 kB / 1.29 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.759e-05/0.9598, allocations: 4.844 kB / 1.29 GB, free: 1.992 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001984/0.9617, allocations: 1.733 MB / 1.292 GB, free: 17.07 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.9618, allocations: 14.91 kB / 1.292 GB, free: 17.06 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/0.962, allocations: 176.2 kB / 1.292 GB, free: 17.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.9635, allocations: 370.5 kB / 1.292 GB, free: 16.94 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.9646, allocations: 0.8958 MB / 1.293 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.9646, allocations: 76.12 kB / 1.293 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.9648, allocations: 99.09 kB / 1.293 GB, free: 16.59 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.9665, allocations: 1.541 MB / 1.295 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.9666, allocations: 4.906 kB / 1.295 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.153e-05/0.9667, allocations: 44.16 kB / 1.295 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-05/0.9667, allocations: 60.17 kB / 1.295 GB, free: 16.29 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.968, allocations: 1.023 MB / 1.296 GB, free: 16.29 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.005197/0.9732, allocations: 5.964 MB / 1.302 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.9737, allocations: 321.8 kB / 1.302 GB, free: 12.72 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/0.9739, allocations: 246.1 kB / 1.302 GB, free: 12.69 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006243/0.9746, allocations: 0.708 MB / 1.303 GB, free: 11.94 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.9746, allocations: 45.88 kB / 1.303 GB, free: 11.9 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 2.204e-06/0.9746, allocations: 0.5312 kB / 1.303 GB, free: 11.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001148/0.9758, allocations: 0.6769 MB / 1.304 GB, free: 11.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.9758, allocations: 133.2 kB / 1.304 GB, free: 11.63 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.9776, allocations: 1.684 MB / 1.306 GB, free: 11.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.9776, allocations: 31.89 kB / 1.306 GB, free: 11.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003896/0.978, allocations: 0.5578 MB / 1.306 GB, free: 11.32 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/0.9781, allocations: 95.42 kB / 1.306 GB, free: 11.27 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.9782, allocations: 68.03 kB / 1.306 GB, free: 11.25 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.526e-05/0.9783, allocations: 317.8 kB / 1.307 GB, free: 10.94 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.9785, allocations: 158.7 kB / 1.307 GB, free: 10.94 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.9787, allocations: 271.1 kB / 1.307 GB, free: 10.86 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.9792, allocations: 416 kB / 1.307 GB, free: 10.78 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.9792, allocations: 0 / 1.307 GB, free: 10.78 MB / 1.014 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006629/0.9798, allocations: 0.5349 MB / 1.308 GB, free: 10.68 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.9799, allocations: 10.81 kB / 1.308 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.9799, allocations: 6.375 kB / 1.308 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.9799, allocations: 4.625 kB / 1.308 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.9801, allocations: 54.97 kB / 1.308 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.9801, allocations: 9.5 kB / 1.308 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/0.9806, allocations: 106.4 kB / 1.308 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.9807, allocations: 24.8 kB / 1.308 GB, free: 10.59 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.0003431/0.981, allocations: 378.5 kB / 1.309 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.9812, allocations: 134.1 kB / 1.309 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.9817, allocations: 390.6 kB / 1.309 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.9817, allocations: 3.406 kB / 1.309 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.9817, allocations: 5.109 kB / 1.309 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9817, allocations: 0.7812 kB / 1.309 GB, free: 10.32 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/0.9848, allocations: 2.607 MB / 1.312 GB, free: 9.348 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.9848, allocations: 7.25 kB / 1.312 GB, free: 9.348 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.985, allocations: 53.27 kB / 1.312 GB, free: 9.348 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.985, allocations: 9.25 kB / 1.312 GB, free: 9.348 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.9851, allocations: 11.78 kB / 1.312 GB, free: 9.348 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.512e-06/0.9851, allocations: 12.14 kB / 1.312 GB, free: 9.348 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.9851, allocations: 10.56 kB / 1.312 GB, free: 9.348 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/0.9857, allocations: 0.6226 MB / 1.312 GB, free: 9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.986, allocations: 292.1 kB / 1.313 GB, free: 8.828 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.9862, allocations: 17.25 kB / 1.313 GB, free: 8.824 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.9866, allocations: 10.69 kB / 1.313 GB, free: 8.824 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/0.9866, allocations: 45.48 kB / 1.313 GB, free: 8.816 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.9866, allocations: 15.78 kB / 1.313 GB, free: 8.816 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001221/0.9879, allocations: 1.225 MB / 1.314 GB, free: 8.707 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9879, allocations: 0 / 1.314 GB, free: 8.707 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000918/0.9888, allocations: 338.9 kB / 1.314 GB, free: 8.676 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.002116/0.9909, allocations: 1.683 MB / 1.316 GB, free: 7.699 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004296/0.9914, allocations: 357.4 kB / 1.316 GB, free: 7.688 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.9914, allocations: 3.094 kB / 1.316 GB, free: 7.688 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.9915, allocations: 161.4 kB / 1.316 GB, free: 7.688 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003447/0.995, allocations: 0.9234 MB / 1.317 GB, free: 7.523 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/1.006, allocations: 11.55 MB / 1.328 GB, free: 3.414 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006599/1.007, allocations: 1.206 MB / 1.33 GB, free: 2.699 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008112/1.007, allocations: 300.1 kB / 1.33 GB, free: 2.637 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004805/1.008, allocations: 463 kB / 1.33 GB, free: 2.633 MB / 1.014 GB Notification: Performance of SimCode: time 2.6e-07/1.008, allocations: 0 / 1.33 GB, free: 2.633 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7133/1.721, allocations: 43.13 MB / 1.373 GB, free: 12.71 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.265/10.99, allocations: 17.25 kB / 1.373 GB, free: 12.7 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