Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="Buildings_latest_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.00186/0.001859, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.003756/0.003756, allocations: 192.8 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.781/2.781, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.37/4.37, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 68.44 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.4972, allocations: 157.4 MB / 1.052 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.BoundaryWithXi_in): time 1.156/1.654, allocations: 211.9 MB / 1.259 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02481/1.679, allocations: 12.16 MB / 1.271 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002586/1.681, allocations: 46.75 kB / 1.271 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002451/1.684, allocations: 436.1 kB / 1.272 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008795/1.693, allocations: 1.773 MB / 1.273 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007844/1.701, allocations: 1.774 MB / 1.275 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01221/1.713, allocations: 2.384 MB / 1.278 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003563/1.716, allocations: 1.13 MB / 1.279 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/1.72, allocations: 0.8423 MB / 1.279 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00221/1.722, allocations: 0.7216 MB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005448/1.722, allocations: 88.66 kB / 1.28 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03653/1.759, allocations: 3.253 MB / 1.283 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001532/1.761, allocations: 0.5436 MB / 1.284 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002687/1.763, allocations: 0.7296 MB / 1.285 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01103/1.774, allocations: 3.378 MB / 1.288 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/1.774, allocations: 2.625 kB / 1.288 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.464e-06/1.774, allocations: 0 / 1.288 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.152e-05/1.775, allocations: 1.062 kB / 1.288 GB, free: 2.016 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.00631/1.781, allocations: 1.734 MB / 1.29 GB, free: 17.08 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/1.781, allocations: 10.09 kB / 1.29 GB, free: 17.08 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000599/1.782, allocations: 169.3 kB / 1.29 GB, free: 17.04 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/1.785, allocations: 372 kB / 1.29 GB, free: 16.96 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002966/1.788, allocations: 0.8889 MB / 1.291 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/1.788, allocations: 79.56 kB / 1.291 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003304/1.789, allocations: 101.1 kB / 1.291 GB, free: 16.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004184/1.793, allocations: 1.51 MB / 1.293 GB, free: 16.31 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.475e-05/1.793, allocations: 6.344 kB / 1.293 GB, free: 16.31 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/1.793, allocations: 46.47 kB / 1.293 GB, free: 16.31 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/1.793, allocations: 61.95 kB / 1.293 GB, free: 16.31 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002787/1.796, allocations: 1.016 MB / 1.294 GB, free: 16.3 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.01263/1.809, allocations: 5.929 MB / 1.3 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/1.81, allocations: 319.8 kB / 1.3 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005581/1.811, allocations: 249.4 kB / 1.3 GB, free: 12.72 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00129/1.812, allocations: 0.7065 MB / 1.301 GB, free: 11.97 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.996e-05/1.812, allocations: 42.59 kB / 1.301 GB, free: 11.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=28): time 3.887e-06/1.812, allocations: 0 / 1.301 GB, free: 11.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=28): time 0.002677/1.815, allocations: 0.6759 MB / 1.301 GB, free: 11.82 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/1.815, allocations: 133.7 kB / 1.302 GB, free: 11.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004348/1.819, allocations: 1.665 MB / 1.303 GB, free: 11.49 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001044/1.819, allocations: 33.2 kB / 1.303 GB, free: 11.46 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007566/1.82, allocations: 0.5482 MB / 1.304 GB, free: 11.35 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/1.82, allocations: 96.78 kB / 1.304 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002277/1.82, allocations: 73.27 kB / 1.304 GB, free: 11.27 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.821, allocations: 316.3 kB / 1.304 GB, free: 10.96 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003874/1.821, allocations: 159.7 kB / 1.304 GB, free: 10.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006493/1.822, allocations: 288.6 kB / 1.305 GB, free: 10.87 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/1.823, allocations: 435.8 kB / 1.305 GB, free: 10.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.823, allocations: 2.062 kB / 1.305 GB, free: 10.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00164/1.824, allocations: 0.5546 MB / 1.306 GB, free: 10.67 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/1.824, allocations: 8.844 kB / 1.306 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/1.825, allocations: 3.469 kB / 1.306 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/1.825, allocations: 8 kB / 1.306 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/1.825, allocations: 60.69 kB / 1.306 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/1.825, allocations: 7.469 kB / 1.306 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/1.827, allocations: 116.5 kB / 1.306 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/1.827, allocations: 26.58 kB / 1.306 GB, free: 10.59 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.0008302/1.827, allocations: 372.6 kB / 1.306 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005095/1.828, allocations: 133.9 kB / 1.306 GB, free: 10.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001047/1.829, allocations: 399 kB / 1.307 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/1.829, allocations: 3.375 kB / 1.307 GB, free: 10.31 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/1.829, allocations: 4.875 kB / 1.307 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-05/1.829, allocations: 7.078 kB / 1.307 GB, free: 10.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006756/1.836, allocations: 2.599 MB / 1.309 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/1.836, allocations: 6.844 kB / 1.309 GB, free: 9.336 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000355/1.836, allocations: 49.83 kB / 1.309 GB, free: 9.336 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/1.836, allocations: 10.2 kB / 1.309 GB, free: 9.336 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/1.836, allocations: 15.72 kB / 1.309 GB, free: 9.336 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.564e-05/1.836, allocations: 9.125 kB / 1.309 GB, free: 9.332 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.498e-05/1.836, allocations: 13.77 kB / 1.309 GB, free: 9.328 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001318/1.838, allocations: 0.6216 MB / 1.31 GB, free: 8.984 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009829/1.839, allocations: 295 kB / 1.31 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005298/1.839, allocations: 16.73 kB / 1.31 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.841, allocations: 18.53 kB / 1.31 GB, free: 8.809 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.599e-05/1.841, allocations: 32.25 kB / 1.31 GB, free: 8.805 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/1.841, allocations: 18.06 kB / 1.31 GB, free: 8.805 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002917/1.844, allocations: 1.208 MB / 1.312 GB, free: 8.695 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.01e-07/1.844, allocations: 0 / 1.312 GB, free: 8.695 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002229/1.846, allocations: 329 kB / 1.312 GB, free: 8.668 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.005135/1.851, allocations: 1.691 MB / 1.314 GB, free: 7.699 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009698/1.852, allocations: 357.8 kB / 1.314 GB, free: 7.695 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.852, allocations: 3.062 kB / 1.314 GB, free: 7.695 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003556/1.852, allocations: 163.9 kB / 1.314 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.009288/1.862, allocations: 0.9203 MB / 1.315 GB, free: 7.527 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04216/1.904, allocations: 11.63 MB / 1.326 GB, free: 3.152 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001507/1.905, allocations: 1.214 MB / 1.327 GB, free: 2.43 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002087/1.908, allocations: 298.8 kB / 1.328 GB, free: 2.371 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008855/1.909, allocations: 458.1 kB / 1.328 GB, free: 2.363 MB / 1.014 GB Notification: Performance of SimCode: time 1.132e-06/1.909, allocations: 0 / 1.328 GB, free: 2.363 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.282/6.19, allocations: 42.65 MB / 1.37 GB, free: 13.92 MB / 1.045 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000504/6.191, allocations: 255.8 kB / 1.37 GB, free: 13.66 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.95/13.14, allocations: 0 / 1.37 GB, free: 13.66 MB / 1.045 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_BoundaryWithXi_in.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches