Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BoundaryWithXi_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_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.002246/0.002246, 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.002172/0.002172, allocations: 198 kB / 16.54 MB, free: 6.672 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.227/1.227, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.441/2.441, allocations: 469.8 MB / 0.7424 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 67.81 kB / 0.9087 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2414, allocations: 159.1 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 0.6338/0.8752, allocations: 214.1 MB / 1.273 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.8856, allocations: 12.17 MB / 1.285 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009608/0.8866, allocations: 45.66 kB / 1.285 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009498/0.8876, allocations: 0.5013 MB / 1.286 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.8911, allocations: 1.882 MB / 1.287 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003625/0.8948, allocations: 1.893 MB / 1.289 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002381/0.8972, allocations: 2.372 MB / 1.292 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001325/0.8985, allocations: 1.204 MB / 1.293 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009843/0.8995, allocations: 0.8252 MB / 1.294 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006278/0.9001, allocations: 0.6572 MB / 1.294 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.9003, allocations: 89.78 kB / 1.294 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004619/0.9049, allocations: 2.847 MB / 1.297 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003936/0.9053, allocations: 0.5309 MB / 1.298 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006449/0.906, allocations: 0.7313 MB / 1.298 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.9091, allocations: 3.124 MB / 1.301 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.9091, allocations: 0.7812 kB / 1.301 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.9091, allocations: 0 / 1.301 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.9091, allocations: 0.6875 kB / 1.301 GB, free: 4.344 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.001893/0.911, allocations: 1.725 MB / 1.303 GB, free: 19.42 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.281e-05/0.911, allocations: 11.44 kB / 1.303 GB, free: 19.42 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001725/0.9112, allocations: 165.4 kB / 1.303 GB, free: 19.38 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.9126, allocations: 371.4 kB / 1.304 GB, free: 19.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009988/0.9136, allocations: 0.8928 MB / 1.304 GB, free: 18.95 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.616e-05/0.9137, allocations: 83.69 kB / 1.304 GB, free: 18.94 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.9138, allocations: 106 kB / 1.305 GB, free: 18.93 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.9154, allocations: 1.506 MB / 1.306 GB, free: 18.65 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.9155, allocations: 4.25 kB / 1.306 GB, free: 18.65 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-05/0.9156, allocations: 50.06 kB / 1.306 GB, free: 18.65 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.156e-05/0.9156, allocations: 57.31 kB / 1.306 GB, free: 18.64 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.9168, allocations: 1.015 MB / 1.307 GB, free: 18.64 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.005297/0.9221, allocations: 5.931 MB / 1.313 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.9225, allocations: 314 kB / 1.313 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.9227, allocations: 255.1 kB / 1.313 GB, free: 15.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007271/0.9235, allocations: 0.706 MB / 1.314 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.9235, allocations: 38.91 kB / 1.314 GB, free: 14.26 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 1.814e-06/0.9235, allocations: 1.938 kB / 1.314 GB, free: 14.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.001052/0.9246, allocations: 0.6828 MB / 1.315 GB, free: 14.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.84e-05/0.9247, allocations: 136.3 kB / 1.315 GB, free: 13.98 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.9262, allocations: 1.656 MB / 1.317 GB, free: 13.82 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.9263, allocations: 31.52 kB / 1.317 GB, free: 13.79 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.9267, allocations: 0.5515 MB / 1.317 GB, free: 13.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.9267, allocations: 92.45 kB / 1.317 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.548e-05/0.9268, allocations: 69.91 kB / 1.317 GB, free: 13.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.9269, allocations: 320.1 kB / 1.318 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.9271, allocations: 161.6 kB / 1.318 GB, free: 13.29 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.9274, allocations: 293.2 kB / 1.318 GB, free: 13.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.9278, allocations: 428.4 kB / 1.318 GB, free: 13.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.9278, allocations: 1.281 kB / 1.318 GB, free: 13.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006554/0.9285, allocations: 0.5619 MB / 1.319 GB, free: 13 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.9285, allocations: 11.34 kB / 1.319 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.9285, allocations: 2.594 kB / 1.319 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.9285, allocations: 8.844 kB / 1.319 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.9287, allocations: 59.83 kB / 1.319 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.9287, allocations: 8.531 kB / 1.319 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000437/0.9292, allocations: 103.2 kB / 1.319 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.975e-05/0.9292, allocations: 24.44 kB / 1.319 GB, free: 12.92 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (32): * Single equations (assignments): 32 * 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.0004208/0.9297, allocations: 374.5 kB / 1.32 GB, free: 12.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/0.9298, allocations: 140.8 kB / 1.32 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004747/0.9303, allocations: 397.2 kB / 1.32 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.9303, allocations: 2.969 kB / 1.32 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9303, allocations: 0.875 kB / 1.32 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.9304, allocations: 2.625 kB / 1.32 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002863/0.9332, allocations: 2.608 MB / 1.323 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.9332, allocations: 7.219 kB / 1.323 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.9334, allocations: 50.45 kB / 1.323 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.9334, allocations: 6.75 kB / 1.323 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.9334, allocations: 14.31 kB / 1.323 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.9334, allocations: 11.16 kB / 1.323 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.9335, allocations: 8.125 kB / 1.323 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.9339, allocations: 0.6167 MB / 1.323 GB, free: 11.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.9343, allocations: 301.3 kB / 1.324 GB, free: 11.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.9344, allocations: 16.98 kB / 1.324 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.9348, allocations: 14.53 kB / 1.324 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.9348, allocations: 33.45 kB / 1.324 GB, free: 11.11 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.9348, allocations: 19.97 kB / 1.324 GB, free: 11.11 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001146/0.936, allocations: 1.209 MB / 1.325 GB, free: 10.99 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.936, allocations: 2.281 kB / 1.325 GB, free: 10.99 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008991/0.9369, allocations: 336 kB / 1.325 GB, free: 10.96 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.002028/0.9389, allocations: 1.679 MB / 1.327 GB, free: 9.973 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004428/0.9394, allocations: 363.4 kB / 1.327 GB, free: 9.965 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.9394, allocations: 0 / 1.327 GB, free: 9.965 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.9396, allocations: 163.5 kB / 1.327 GB, free: 9.961 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/0.9428, allocations: 0.9247 MB / 1.328 GB, free: 9.797 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/0.9535, allocations: 11.4 MB / 1.339 GB, free: 5.719 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/0.9542, allocations: 1.198 MB / 1.341 GB, free: 5.008 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008022/0.955, allocations: 300 kB / 1.341 GB, free: 4.945 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.9554, allocations: 465.4 kB / 1.341 GB, free: 4.934 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/0.9554, allocations: 0 / 1.341 GB, free: 4.934 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.42/2.375, allocations: 42.9 MB / 1.383 GB, free: 12.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.96/15.33, allocations: 8.062 kB / 1.383 GB, free: 12.65 MB / 1.045 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches